toolbar: Initialize scroll region when toolbar is resized. 43/122843/2
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 3 Apr 2017 14:51:12 +0000 (23:51 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 3 Apr 2017 15:26:34 +0000 (00:26 +0900)
Elm_interface_scrollable_content_region_show causes problems in mirror mode.
This is to initialize the scroll region of the toolbar and supports mirroring.

Change-Id: I76bfbab5360a48d386cd97e01ef39b48d6614572
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/elm_toolbar.c

index c30443d6a6162285ce72f61ce268157176fbc1ff..0c4c13b2d3fe1165bc8765f7b3af5f829aed91f2 100644 (file)
@@ -588,9 +588,8 @@ _resize_job(void *data)
           {
              if (it->selected)
                {
-                  // TIZEN_ONLY(20150914): Initialize scroll region when toolbar is resized.
-                  eo_do(WIDGET(it), elm_interface_scrollable_content_region_show
-                        (0, 0, 0, 0));
+                  // TIZEN_ONLY(20170403): Initialize scroll region when toolbar is resized.
+                  eo_do(WIDGET(it), elm_interface_scrollable_page_show(0, 0));
                   //
                   _item_show(it);
                }