aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_layout.c
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2010-10-28 17:46:47 +0000
committerIván Briano <sachieru@gmail.com>2010-10-28 17:46:47 +0000
commitab3b4942485bca98bf260a34d29d181ae55d2782 (patch)
treeea06bf4d761ef19d92e63b72e1b39e10a6888f43 /legacy/elementary/src/bin/test_layout.c
parentLittle titlebar pre-made layout goes in. (diff)
downloadefl-ab3b4942485bca98bf260a34d29d181ae55d2782.tar.gz
I wonder how I managed to remove those before committing.
SVN revision: 53972
Diffstat (limited to 'legacy/elementary/src/bin/test_layout.c')
-rw-r--r--legacy/elementary/src/bin/test_layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/elementary/src/bin/test_layout.c b/legacy/elementary/src/bin/test_layout.c
index 251b9c177a..21beec37ac 100644
--- a/legacy/elementary/src/bin/test_layout.c
+++ b/legacy/elementary/src/bin/test_layout.c
@@ -35,6 +35,8 @@ test_layout(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
ly = elm_layout_add(win);
elm_layout_theme_set(ly, "layout", "application", "titlebar");
elm_layout_label_set(ly, "Some title");
+ evas_object_size_hint_weight_set(ly, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(ly, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_box_pack_end(box, ly);
evas_object_show(ly);