summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2018-01-16 18:10:30 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-16 19:35:54 +0900
commiteb9f35bcb9bab02a822cd1eae1351de72fbef3e7 (patch)
treeb609d3e6afd62da4068b3c44580c7a24163fe933
parente592a0ab5b7a13a7720532182671317984cd6617 (diff)
panes: Fix invalid part name in layout recalc
-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 {