summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-26 13:15:33 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-26 13:16:11 +0100
commitcd7b594466e3e9c470541b5f61069eb683e0729b (patch)
tree40616ac02e89366610da196b3dbb8fe1ebd2904d /src/lib/elementary
parentd261dca06c748675add162a0dd1c7bfd992eae1d (diff)
elm - combobox - pretty borken but make it a little less
add some tests so i can see smaller comboboxes with padding and fix the scaling which was broken.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elc_combobox.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c
index 200745a97b..49a91c0012 100644
--- a/src/lib/elementary/elc_combobox.c
+++ b/src/lib/elementary/elc_combobox.c
@@ -209,10 +209,8 @@ _table_resize(void *data)
209 else win_y_offset = obj_y; 209 else win_y_offset = obj_y;
210 210
211 if (current_height < win_y_offset) 211 if (current_height < win_y_offset)
212 evas_object_size_hint_min_set(sd->spacer, obj_w * elm_config_scale_get(), 212 evas_object_size_hint_min_set(sd->spacer, obj_w, current_height);
213 current_height + (2 * elm_config_scale_get())); 213 else evas_object_size_hint_min_set(sd->spacer, obj_w, win_y_offset);
214 else evas_object_size_hint_min_set(sd->spacer, obj_w * elm_config_scale_get(),
215 win_y_offset * elm_config_scale_get());
216 } 214 }
217} 215}
218 216