Hi, All
I am create a EFL toolbar widget, as below:
static Evas_Object* create_toolbar(appdata_s *ad) { Evas_Object *tabbar; tabbar = elm_toolbar_add(ad->conform); elm_object_style_set(tabbar, "tabbar"); elm_toolbar_shrink_mode_set(tabbar, ELM_TOOLBAR_SHRINK_NONE); elm_toolbar_transverse_expanded_set(tabbar, EINA_TRUE); elm_toolbar_item_append(tabbar, NULL, "Message", tabbar_item_cb, ad); elm_toolbar_item_append(tabbar, NULL, "Friends", tabbar_item_cb, ad); elm_toolbar_item_append(tabbar, NULL, "About Me", tabbar_item_cb, ad); return tabbar; }
The style of selected item has an underline, but if I re-click on the same item, the underline will lose, and third time click on it, the underline will back. As below screenshot, the first pic is the result of first click, the second pic is the result of second click, and the third time click on it, the will same with the first pic.