From 0a49002145416231c5d9e1066af94cdd938b6a77 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Mon, 14 Jan 2013 12:01:34 +0000 Subject: [PATCH] elm test_genlist.c: Obey scale size for pixels. SVN revision: 82756 --- legacy/elementary/src/bin/test_genlist.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/src/bin/test_genlist.c b/legacy/elementary/src/bin/test_genlist.c index 90ec7a9..561d338 100644 --- a/legacy/elementary/src/bin/test_genlist.c +++ b/legacy/elementary/src/bin/test_genlist.c @@ -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; } -- 2.7.4