elm: [spinner] Forcefully setting highlight frame on spinner entry as on
authorPrasoon Singh <prasoon.16@samsung.com>
Mon, 27 Nov 2017 12:18:40 +0000 (17:48 +0530)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 09:39:47 +0000 (18:39 +0900)
     entry activation frame goes to window again.

@tizen_feature

orignal commit: fb7f0036446cebef0e509519680fd8f27bc53702

Change-Id: I365ded387c2a7879304fe57ce8c97bab123630dc

src/lib/elementary/elm_spinner.c

index 3e809ef..7e7ccce 100644 (file)
@@ -392,6 +392,10 @@ _entry_hide(Evas_Object *obj)
    if (sd->entry_visible && !evas_focus_state_get(evas_object_evas_get(obj)))
      sd->entry_reactivate = EINA_TRUE;
 
+   //TIZEN_ONLY(20160606): Forcefully setting highlight frame on spinner entry as on entry activation frame goes to window again.
+   efl_access_component_highlight_clear(sd->ent);
+   //
+
    sd->entry_visible = EINA_FALSE;
 }
 
@@ -599,6 +603,9 @@ _entry_show_cb(void *data,
    sd->entry_visible = EINA_TRUE;
    elm_layout_signal_emit(data, "elm,state,button,inactive", "elm");
    evas_object_hide(sd->text_button);
+   //TIZEN_ONLY(20160606): Forcefully setting highlight frame on spinner entry as on entry activation frame goes to window again.
+   efl_access_component_highlight_grab(obj);
+   //
 }
 
 static void