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:
Jee-Yong Um 2015-01-12 13:36:55 +09:00 committed by Carsten Haitzler (Rasterman)
parent 94a00854b6
commit a83e01cad3
1 changed files with 1 additions and 2 deletions

View File

@ -1264,8 +1264,7 @@ _elm_colorselector_elm_layout_sizing_eval(Eo *obj, Elm_Colorselector_Data *sd)
return;
}
evas_object_resize(sd->palette_box, minw, minh);
evas_object_smart_calculate(sd->palette_box);
elm_box_recalculate(sd->palette_box);
edje_object_size_min_calc(wd->resize_obj, &minw, &minh);
evas_object_size_hint_min_set(obj, minw, minh);
evas_object_size_hint_max_set(obj, -1, -1);