forked from enlightenment/efl
test flip,toolbar,tooltip: use EINA_FALSE for elm_toolbar_homogeneous_set() parameters.
This commit is contained in:
parent
50dbaf616e
commit
f612734879
|
@ -240,7 +240,7 @@ test_flip2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
|
||||||
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||||
|
|
||||||
tb = elm_toolbar_add(win);
|
tb = elm_toolbar_add(win);
|
||||||
elm_toolbar_homogeneous_set(tb, 0);
|
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
|
||||||
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
||||||
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
||||||
|
|
||||||
|
|
|
@ -208,7 +208,7 @@ test_toolbar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
||||||
evas_object_show(bx);
|
evas_object_show(bx);
|
||||||
|
|
||||||
tb = elm_toolbar_add(win);
|
tb = elm_toolbar_add(win);
|
||||||
elm_toolbar_homogeneous_set(tb, 0);
|
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
|
||||||
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_SCROLL);
|
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_SCROLL);
|
||||||
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
||||||
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
||||||
|
@ -416,7 +416,7 @@ test_toolbar4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
||||||
evas_object_show(bx);
|
evas_object_show(bx);
|
||||||
|
|
||||||
tb = elm_toolbar_add(win);
|
tb = elm_toolbar_add(win);
|
||||||
elm_toolbar_homogeneous_set(tb, 0);
|
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
|
||||||
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_HIDE);
|
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_HIDE);
|
||||||
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
||||||
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
||||||
|
@ -520,7 +520,7 @@ test_toolbar5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
||||||
evas_object_show(bx);
|
evas_object_show(bx);
|
||||||
|
|
||||||
tb = elm_toolbar_add(win);
|
tb = elm_toolbar_add(win);
|
||||||
elm_toolbar_homogeneous_set(tb, 0);
|
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
|
||||||
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU);
|
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU);
|
||||||
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
||||||
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
||||||
|
@ -733,7 +733,7 @@ test_toolbar7(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
||||||
|
|
||||||
tb = elm_toolbar_add(win);
|
tb = elm_toolbar_add(win);
|
||||||
elm_object_style_set(tb, "item_horizontal");
|
elm_object_style_set(tb, "item_horizontal");
|
||||||
elm_toolbar_homogeneous_set(tb, 0);
|
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
|
||||||
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU);
|
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU);
|
||||||
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
|
||||||
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
||||||
|
|
|
@ -384,7 +384,7 @@ test_tooltip(void *data __UNUSED__,
|
||||||
evas_object_show(bx);
|
evas_object_show(bx);
|
||||||
|
|
||||||
tb = elm_toolbar_add(win);
|
tb = elm_toolbar_add(win);
|
||||||
elm_toolbar_homogeneous_set(tb, 0);
|
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
|
||||||
evas_object_size_hint_weight_set(tb, EVAS_HINT_EXPAND, 0.0);
|
evas_object_size_hint_weight_set(tb, EVAS_HINT_EXPAND, 0.0);
|
||||||
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
|
||||||
elm_box_pack_end(bx, tb);
|
elm_box_pack_end(bx, tb);
|
||||||
|
|
Loading…
Reference in New Issue