summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-01-14 12:01:34 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-01-14 12:01:34 +0000
commit7659bfbd83cceb899eb7aef8d8e23a3f931f0467 (patch)
tree1a88b164e49dd8f1f27527f56ce4cdc0648b42aa
parent815a4d730c9165b144169336cab1a736169c5a1f (diff)
elm test_genlist.c: Obey scale size for pixels.
SVN revision: 82756
-rw-r--r--src/bin/test_genlist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index 90ec7a9ef..561d338c2 100644
--- a/src/bin/test_genlist.c
+++ b/src/bin/test_genlist.c
@@ -166,7 +166,8 @@ Evas_Object *gl_content_full_get(void *data __UNUSED__, Evas_Object *obj, const
166 166
167 ic = elm_icon_add(bx); 167 ic = elm_icon_add(bx);
168 elm_icon_standard_set(ic, "home"); 168 elm_icon_standard_set(ic, "home");
169 evas_object_size_hint_min_set(ic, 32, 32); 169 evas_object_size_hint_min_set(ic, 32 * elm_config_scale_get(),
170 32 * elm_config_scale_get());
170 evas_object_size_hint_align_set(ic, 0.5, EVAS_HINT_FILL); 171 evas_object_size_hint_align_set(ic, 0.5, EVAS_HINT_FILL);
171 evas_object_show(ic); 172 evas_object_show(ic);
172 elm_box_pack_end(bx, ic); 173 elm_box_pack_end(bx, ic);
@@ -188,7 +189,8 @@ Evas_Object *gl_content_full_get(void *data __UNUSED__, Evas_Object *obj, const
188 elm_box_pack_end(bx, ck); 189 elm_box_pack_end(bx, ck);
189 190
190 elm_layout_content_set(fr, NULL, bx); 191 elm_layout_content_set(fr, NULL, bx);
191 evas_object_size_hint_min_set(fr, 100, 100); 192 evas_object_size_hint_min_set(fr, 100 * elm_config_scale_get(),
193 100 * elm_config_scale_get());
192 194
193 return fr; 195 return fr;
194} 196}