From 44e89e7c6a6f743d9e02e36d77554430ce3bed79 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Mon, 13 Jul 2020 11:58:50 +0100 Subject: [PATCH] ephoto settings: Sizing of Popup. Uncollapse the settings popup window. @fix @hack --- src/bin/ephoto_config.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/ephoto_config.c b/src/bin/ephoto_config.c index 41bde1b..057fbbb 100644 --- a/src/bin/ephoto_config.c +++ b/src/bin/ephoto_config.c @@ -476,10 +476,10 @@ _config_about(Evas_Object *parent) img = elm_image_add(box); evas_object_image_size_set(elm_image_object_get(img), 100, 100); evas_object_size_hint_min_set(img, 200, 100); - evas_object_size_hint_max_set(img, 200, 100); elm_image_preload_disabled_set(img, EINA_FALSE); elm_image_file_set(img, PACKAGE_DATA_DIR "/images/ephoto.png", NULL); elm_box_pack_end(box, img); + EPHOTO_EXPAND(img); evas_object_show(img); snprintf(ver, PATH_MAX, "Ephoto
Version: %s
", PACKAGE_VERSION); @@ -677,7 +677,7 @@ ephoto_config_main(Ephoto *ephoto) scroller = elm_scroller_add(box); EPHOTO_EXPAND(scroller); EPHOTO_FILL(scroller); - elm_box_pack_end(box, scroller); + elm_scroller_policy_set(scroller, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_ON); evas_object_show(scroller); table = elm_table_add(scroller); @@ -750,6 +750,7 @@ ephoto_config_main(Ephoto *ephoto) elm_list_item_selected_set(settingsi, EINA_TRUE); elm_object_content_set(scroller, table); + elm_box_pack_end(box, scroller); elm_object_content_set(popup, box); evas_object_data_set(popup, "ephoto", ephoto);