Elm test: Fixed label test's window size.

This is actually a pretty important thing to remember.
elm_win_resize_object_add resizes the content to the size of the window,
the size of the window is only applied when the window is shown, at least on
the ecore evas. Is that wanted? or should we take the evas-object geometry
there? The problem I'm worried about is: writing beyond buffer limits.

SVN revision: 64579
This commit is contained in:
Tom Hacohen 2011-10-31 16:32:13 +00:00
parent 938dcd1584
commit 937b2a7166
1 changed files with 2 additions and 3 deletions

View File

@ -68,11 +68,10 @@ test_label(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
elm_box_pack_end(bx, lb);
evas_object_show(lb);
elm_win_resize_object_add(win, bx);
evas_object_show(bx);
evas_object_resize(win, 320, 300);
evas_object_show(bx);
evas_object_show(win);
elm_win_resize_object_add(win, bx);
}
#endif