toolbar: Initialize scroll region when toolbar is resized. 25/122925/1
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 3 Apr 2017 14:51:12 +0000 (23:51 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 4 Apr 2017 04:14:07 +0000 (13:14 +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 ba53e306d9acb46230735a7524e7357c63c9db7f..8611097dac5a95777d614f7a9a76576dc5e8fba4 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);
                }