summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_panes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_panes.c')
-rw-r--r--src/lib/elementary/efl_ui_panes.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_panes.c b/src/lib/elementary/efl_ui_panes.c
index da8e405ace..de2b2257e9 100644
--- a/src/lib/elementary/efl_ui_panes.c
+++ b/src/lib/elementary/efl_ui_panes.c
@@ -204,8 +204,16 @@ _efl_ui_panes_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Panes_Data *sd)
204 Eo *first_content, *second_content; 204 Eo *first_content, *second_content;
205 Eina_Size2D min; 205 Eina_Size2D min;
206 206
207 first_content = efl_content_get(efl_part(obj, "first")); 207 if (elm_widget_is_legacy(obj))
208 second_content = efl_content_get(efl_part(obj, "second")); 208 {
209 first_content = efl_content_get(efl_part(obj, "elm.swallow.left"));
210 second_content = efl_content_get(efl_part(obj, "elm.swallow.right"));
211 }
212 else
213 {
214 first_content = efl_content_get(efl_part(obj, "first"));
215 second_content = efl_content_get(efl_part(obj, "second"));
216 }
209 217
210 if (first_content) 218 if (first_content)
211 { 219 {