elm_panel: fix visibility when switching scrollable mode
authorYeongjong Lee <yj34.lee@samsung.com>
Thu, 17 Jan 2019 08:40:37 +0000 (17:40 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 24 Jan 2019 05:20:18 +0000 (14:20 +0900)
commit69eba2792af3deb009debe995eb5fc54f41c52f5
tree499da2da7488c721b94c0cbf332d6171d47ce2da
parentd9b92eae0c196e3e94d5ae50634746139dc1ec02
elm_panel: fix visibility when switching scrollable mode

Summary:
There are two proplem when switching scrollable mode.
1. a previous layout does not disappear.
2. internal evas_box(sd->bx) should set on "elm.swallow.content" part.

This patch hide remained previous layout and set evas_box to "elm.swallow.content"
part directly.

Thanks to arosis for reporting and sample code.

Test Plan: P262

Reviewers: arosis, eunue, Jaehyun_Cho

Reviewed By: eunue

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7667
src/lib/elementary/elm_panel.c