forked from enlightenment/efl
elm_colorselector: Fixed to make palette_box have proper height
Summary: palette_box had stretched height exceeding its items size. Now it will have proper height fitting to own items. Reviewers: Hermet, Jaehyun, raster Reviewed By: raster Subscribers: raster, Hermet Differential Revision: https://phab.enlightenment.org/D1840
This commit is contained in:
parent
94a00854b6
commit
a83e01cad3
|
@ -1264,8 +1264,7 @@ _elm_colorselector_elm_layout_sizing_eval(Eo *obj, Elm_Colorselector_Data *sd)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
evas_object_resize(sd->palette_box, minw, minh);
|
elm_box_recalculate(sd->palette_box);
|
||||||
evas_object_smart_calculate(sd->palette_box);
|
|
||||||
edje_object_size_min_calc(wd->resize_obj, &minw, &minh);
|
edje_object_size_min_calc(wd->resize_obj, &minw, &minh);
|
||||||
evas_object_size_hint_min_set(obj, minw, minh);
|
evas_object_size_hint_min_set(obj, minw, minh);
|
||||||
evas_object_size_hint_max_set(obj, -1, -1);
|
evas_object_size_hint_max_set(obj, -1, -1);
|
||||||
|
|
Loading…
Reference in New Issue