forked from enlightenment/efl
cxx examples: Fix button example 00
Text part API has changed.
This commit is contained in:
parent
0e21b4d280
commit
98b1309c6f
|
@ -24,7 +24,7 @@ elm_main (int argc EINA_UNUSED, char **argv EINA_UNUSED)
|
|||
win.autohide_set(true);
|
||||
|
||||
efl::ui::Button btn(win);
|
||||
btn.eo_cxx::elm::Layout::text_set(nullptr,"Good-Bye, World!");
|
||||
btn.text_set("Good-Bye, World!");
|
||||
btn.eo_cxx::efl::Gfx::size_set(120, 30);
|
||||
btn.eo_cxx::efl::Gfx::position_set(60, 15);
|
||||
btn.visible_set(true);
|
||||
|
|
Loading…
Reference in New Issue