elm test_genlist.c: Obey scale size for pixels.
SVN revision: 82756
This commit is contained in:
parent
43f4d4c241
commit
0a49002145
|
@ -166,7 +166,8 @@ Evas_Object *gl_content_full_get(void *data __UNUSED__, Evas_Object *obj, const
|
|||
|
||||
ic = elm_icon_add(bx);
|
||||
elm_icon_standard_set(ic, "home");
|
||||
evas_object_size_hint_min_set(ic, 32, 32);
|
||||
evas_object_size_hint_min_set(ic, 32 * elm_config_scale_get(),
|
||||
32 * elm_config_scale_get());
|
||||
evas_object_size_hint_align_set(ic, 0.5, EVAS_HINT_FILL);
|
||||
evas_object_show(ic);
|
||||
elm_box_pack_end(bx, ic);
|
||||
|
@ -188,7 +189,8 @@ Evas_Object *gl_content_full_get(void *data __UNUSED__, Evas_Object *obj, const
|
|||
elm_box_pack_end(bx, ck);
|
||||
|
||||
elm_layout_content_set(fr, NULL, bx);
|
||||
evas_object_size_hint_min_set(fr, 100, 100);
|
||||
evas_object_size_hint_min_set(fr, 100 * elm_config_scale_get(),
|
||||
100 * elm_config_scale_get());
|
||||
|
||||
return fr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue