forked from enlightenment/efl
test_hoversel: Change the hoversel button text when an hoversel item is
selected. This reveals hoversel bug on mobile profile that changes the size of text parts on continuous item change.
This commit is contained in:
parent
3eb9e6b4cf
commit
f79a003b6b
|
@ -104,8 +104,10 @@ static void
|
||||||
_hoversel_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
_hoversel_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
||||||
void *event_info)
|
void *event_info)
|
||||||
{
|
{
|
||||||
printf("'selected' callback is called. (selected item : %s)\n",
|
const char *txt = elm_object_item_text_get(event_info);
|
||||||
elm_object_item_text_get(event_info));
|
|
||||||
|
printf("'selected' callback is called. (selected item : %s)\n", txt);
|
||||||
|
elm_object_text_set(obj, txt);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue