summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/config/profile.src2
-rw-r--r--legacy/elementary/src/lib/elc_popup.c8
2 files changed, 7 insertions, 3 deletions
diff --git a/legacy/elementary/config/profile.src b/legacy/elementary/config/profile.src
index 331d858ce9..a6a7b9cd72 100644
--- a/legacy/elementary/config/profile.src
+++ b/legacy/elementary/config/profile.src
@@ -1 +1 @@
default \ No newline at end of file standard
diff --git a/legacy/elementary/src/lib/elc_popup.c b/legacy/elementary/src/lib/elc_popup.c
index d81260b45a..5337c3045f 100644
--- a/legacy/elementary/src/lib/elc_popup.c
+++ b/legacy/elementary/src/lib/elc_popup.c
@@ -253,6 +253,7 @@ _sizing_eval(Evas_Object *obj)
253 Evas_Coord h_box = 0, minh_box = 0; 253 Evas_Coord h_box = 0, minh_box = 0;
254 Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1; 254 Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
255 Widget_Data *wd = elm_widget_data_get(obj); 255 Widget_Data *wd = elm_widget_data_get(obj);
256 Evas_Coord bx, by, bw, bh;
256 257
257 if (!wd) return; 258 if (!wd) return;
258 if (wd->items) 259 if (wd->items)
@@ -273,9 +274,7 @@ _sizing_eval(Evas_Object *obj)
273// evas_object_smart_calculate(wd->scr); 274// evas_object_smart_calculate(wd->scr);
274 } 275 }
275 evas_object_size_hint_min_get(wd->scr, &minw, &minh); 276 evas_object_size_hint_min_get(wd->scr, &minw, &minh);
276 printf("min: %ix%i\n", minw, minh);
277 evas_object_size_hint_max_get(wd->scr, &minw, &minh); 277 evas_object_size_hint_max_get(wd->scr, &minw, &minh);
278 printf("max: %ix%i\n", minw, minh);
279 278
280 edje_object_size_min_calc(elm_layout_edje_get(wd->base), &minw, &minh); 279 edje_object_size_min_calc(elm_layout_edje_get(wd->base), &minw, &minh);
281 evas_object_size_hint_min_set(wd->base, minw, minh); 280 evas_object_size_hint_min_set(wd->base, minw, minh);
@@ -283,6 +282,11 @@ _sizing_eval(Evas_Object *obj)
283 evas_object_size_hint_min_set(obj, minw, minh); 282 evas_object_size_hint_min_set(obj, minw, minh);
284 evas_object_size_hint_max_set(obj, maxw, maxh); 283 evas_object_size_hint_max_set(obj, maxw, maxh);
285 elm_layout_sizing_eval(wd->base); 284 elm_layout_sizing_eval(wd->base);
285
286 // hack hack hack. this widget needs a ... redo.
287 evas_object_geometry_get(wd->base, &bx, &by, &bw, &bh);
288 evas_object_resize(obj, bw, bh);
289 evas_object_move(obj, bx, by);
286} 290}
287 291
288static void 292static void