widget: enhance button support.

This commit is contained in:
Daniel Juyung Seo 2013-04-16 23:05:11 +09:00
parent 32acb86f9a
commit 7b21ec6ff7
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ _widget_button_create(const char* style)
EXPAND(btn); ALIGN(btn, EVAS_HINT_FILL, 0);
// strip out starting "base/" string.
elm_object_style_set(btn, style + 5);
elm_object_style_set(btn, style + strlen("base/"));
elm_object_text_set(btn, "THIS IS A BUTTON TEST");
evas_object_show(btn);