formatting.

SVN revision: 63722
This commit is contained in:
Carsten Haitzler 2011-09-30 11:22:22 +00:00
parent 1cdb29aa35
commit 779ca79b75
1 changed files with 5 additions and 3 deletions

View File

@ -83,9 +83,11 @@ _diskselector_object_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj, vo
wd = elm_widget_data_get(data);
if (!wd) return;
if (wd->minw == -1 && wd->minh == -1) elm_coords_finger_size_adjust(6, &wd->minw, 1, &wd->minh);
edje_object_size_min_restricted_calc(elm_smart_scroller_edje_object_get(
wd->scroller), &wd->minw, &wd->minh, wd->minw, wd->minh);
if ((wd->minw == -1) && (wd->minh == -1))
elm_coords_finger_size_adjust(6, &wd->minw, 1, &wd->minh);
edje_object_size_min_restricted_calc
(elm_smart_scroller_edje_object_get
(wd->scroller), &wd->minw, &wd->minh, wd->minw, wd->minh);
evas_object_size_hint_min_set(obj, wd->minw, wd->minh);
evas_object_size_hint_max_set(obj, -1, -1);