diff --git a/src/lib/elementary/elm_panel.c b/src/lib/elementary/elm_panel.c index 675227e654..8e48395f2c 100644 --- a/src/lib/elementary/elm_panel.c +++ b/src/lib/elementary/elm_panel.c @@ -1378,6 +1378,7 @@ _elm_panel_scrollable_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool scrollable) if (!elm_layout_content_set(sd->scr_ly, "elm.event_area", sd->scr_event)) elm_layout_content_set(sd->scr_ly, "event_area", sd->scr_event); } + else _scrollable_layout_theme_set(obj, sd); elm_interface_scrollable_content_set(obj, sd->scr_ly); sd->freeze = EINA_TRUE; @@ -1439,6 +1440,8 @@ _elm_panel_scrollable_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool scrollable) elm_widget_resize_object_set(obj, sd->panel_edje); + _orient_set_do(obj); + evas_object_hide(sd->scr_ly); elm_layout_content_unset(sd->scr_ly, "elm.swallow.content"); efl_content_set(efl_part(efl_super(obj, MY_CLASS), "elm.swallow.content"), sd->bx);