Temp progress
This commit is contained in:
parent
adbec94559
commit
54e2d11dfb
|
@ -36,6 +36,9 @@ elm_main(int argc, char** argv)
|
|||
|
||||
elm_box_pack_end(status_content, status);
|
||||
}
|
||||
Evas_Object* lol = E_SHOW(elm_label_add(status_content));
|
||||
elm_object_text_set(lol, "sdfjkfhjkahgkljsghklfjghdsjkghsdf");
|
||||
elm_box_pack_end(status_content, lol);
|
||||
E_END(status_content);
|
||||
E_END(status_scr);
|
||||
|
||||
|
|
21
src/status.c
21
src/status.c
|
@ -7,11 +7,19 @@
|
|||
Evas_Object*
|
||||
exc_status_add(Evas_Object* parent, struct exc_status status)
|
||||
{
|
||||
Evas_Object* st_frame = elm_frame_add(parent);
|
||||
Evas_Object* root = elm_table_add(parent);
|
||||
evas_object_size_hint_min_set(root, 300, 300);
|
||||
|
||||
Evas_Object* st_frame = E_SHOW(elm_frame_add(root));
|
||||
E_BEGIN(st_frame);
|
||||
elm_table_pack(root, st_frame, 0, 0, 1, 1);
|
||||
evas_object_size_hint_padding_set(st_frame, 3, 3, 3, 3);
|
||||
//evas_object_fullsize(st_frame);
|
||||
evas_object_size_hint_weight_set(st_frame, 1, 0);
|
||||
evas_object_size_hint_align_set (st_frame, -1, 0.0);
|
||||
//evas_object_size_hint_min_set(st_frame, 300, 300);
|
||||
|
||||
|
||||
Evas_Object* st_box = E_SHOW(elm_box_add(st_frame));
|
||||
E_BEGIN(st_box);
|
||||
//evas_object_size_hint_min_set(st_box, 300, 300);
|
||||
|
@ -50,12 +58,13 @@ exc_status_add(Evas_Object* parent, struct exc_status status)
|
|||
Evas_Object* st_content = E_SHOW(elm_entry_add(st_box));
|
||||
E_BEGIN(st_content);
|
||||
elm_object_text_set(st_username, "Status");
|
||||
|
||||
//evas_object_size_hint_min_set(st_content, 300, 300);
|
||||
|
||||
evas_object_size_hint_min_set(st_content, 300, 300);
|
||||
|
||||
//evas_object_size_hint_weight_set(st_content
|
||||
evas_object_size_hint_weight_set(st_content, 1, 1);
|
||||
|
||||
elm_entry_editable_set(st_content, EINA_FALSE);
|
||||
elm_entry_single_line_set(st_content, EINA_FALSE);
|
||||
elm_object_text_set(st_content, "Lol, lmao. <b>LOL</> even");
|
||||
elm_box_pack_end(st_box_rt, st_content);
|
||||
E_END(st_content);
|
||||
|
@ -64,8 +73,10 @@ exc_status_add(Evas_Object* parent, struct exc_status status)
|
|||
E_BEGIN(st_box_rt);
|
||||
|
||||
elm_object_content_set(st_frame, st_box);
|
||||
elm_widget_style_set(st_frame, "outline");
|
||||
//elm_widget_theme_object_set(st_frame, NULL, "focus_highlight", "top", "notify");
|
||||
E_END(st_box);
|
||||
|
||||
E_END(st_frame);
|
||||
return st_frame;
|
||||
return root;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue