summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elm_diskselector.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c
index bab4bc3ab..c446f5595 100644
--- a/src/lib/elm_diskselector.c
+++ b/src/lib/elm_diskselector.c
@@ -83,9 +83,11 @@ _diskselector_object_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj, vo
83 wd = elm_widget_data_get(data); 83 wd = elm_widget_data_get(data);
84 if (!wd) return; 84 if (!wd) return;
85 85
86 if (wd->minw == -1 && wd->minh == -1) elm_coords_finger_size_adjust(6, &wd->minw, 1, &wd->minh); 86 if ((wd->minw == -1) && (wd->minh == -1))
87 edje_object_size_min_restricted_calc(elm_smart_scroller_edje_object_get( 87 elm_coords_finger_size_adjust(6, &wd->minw, 1, &wd->minh);
88 wd->scroller), &wd->minw, &wd->minh, wd->minw, wd->minh); 88 edje_object_size_min_restricted_calc
89 (elm_smart_scroller_edje_object_get
90 (wd->scroller), &wd->minw, &wd->minh, wd->minw, wd->minh);
89 evas_object_size_hint_min_set(obj, wd->minw, wd->minh); 91 evas_object_size_hint_min_set(obj, wd->minw, wd->minh);
90 evas_object_size_hint_max_set(obj, -1, -1); 92 evas_object_size_hint_max_set(obj, -1, -1);
91 93