forked from enlightenment/efl
test_inwin.c: added more description about the style and fixed formatting.
This commit is contained in:
parent
028fcf8827
commit
f64c5ecc9b
|
@ -85,11 +85,11 @@ test_inwin(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
|
|||
|
||||
lb = elm_label_add(win);
|
||||
elm_object_text_set(lb,
|
||||
"This is an \"inwin\" - a window in a<br/>"
|
||||
"window. This is handy for quick popups<br/>"
|
||||
"you want centered, taking over the window<br/>"
|
||||
"until dismissed somehow. Unlike hovers they<br/>"
|
||||
"don't hover over their target.");
|
||||
"This is an \"inwin\" - a window in a<br/>"
|
||||
"window. This is handy for quick popups<br/>"
|
||||
"you want centered, taking over the window<br/>"
|
||||
"until dismissed somehow. Unlike hovers they<br/>"
|
||||
"don't hover over their target.");
|
||||
elm_box_pack_end(bxx, lb);
|
||||
elm_win_inwin_content_set(inwin, bxx);
|
||||
evas_object_show(lb);
|
||||
|
@ -112,14 +112,15 @@ test_inwin2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
|
|||
|
||||
lb = elm_label_add(win);
|
||||
elm_object_text_set(lb,
|
||||
"This is an \"inwin\" - a window in a<br/>"
|
||||
"window. This is handy for quick popups<br/>"
|
||||
"you want centered, taking over the window<br/>"
|
||||
"until dismissed somehow. Unlike hovers they<br/>"
|
||||
"don't hover over their target.<br/>"
|
||||
"<br/>"
|
||||
"This inwin style compacts itself vertically<br/>"
|
||||
"to the size of its contents minimum size.");
|
||||
"This is an \"inwin\" - a window in a<br/>"
|
||||
"window. This is handy for quick popups<br/>"
|
||||
"you want centered, taking over the window<br/>"
|
||||
"until dismissed somehow. Unlike hovers they<br/>"
|
||||
"don't hover over their target.<br/>"
|
||||
"<br/>"
|
||||
"This \"minimal_vertical\" inwin style compacts<br/>"
|
||||
"itself vertically to the size of its contents<br/> "
|
||||
"minimum size.");
|
||||
elm_win_inwin_content_set(inwin, lb);
|
||||
evas_object_show(lb);
|
||||
|
||||
|
|
Loading…
Reference in New Issue