summaryrefslogtreecommitdiff
path: root/src/bin/elementary
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-11-28 17:13:07 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-02 18:30:23 +0100
commit842e6e9c67a65b7193190a91511912e895a04b58 (patch)
treeab4ad7a6fa49935ab7166cd130a129306c0b59ab /src/bin/elementary
parent7033816554497b402cb1d48716955931592be4fa (diff)
efl_ui_spotlight_container: bring in min / max handling
the spotlight now is setting the overall correct min and max size on itself. Additionally, the page size is now clamped to the size of the container. Correct min size of the container is defined to the MAX min size of all the content. The correct max size of the container is defined to the MIN max size of all the content. ref T7991 Differential Revision: https://phab.enlightenment.org/D10766
Diffstat (limited to 'src/bin/elementary')
-rw-r--r--src/bin/elementary/test_ui_spotlight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/elementary/test_ui_spotlight.c b/src/bin/elementary/test_ui_spotlight.c
index 48736fe..281b55e 100644
--- a/src/bin/elementary/test_ui_spotlight.c
+++ b/src/bin/elementary/test_ui_spotlight.c
@@ -92,6 +92,7 @@ view_add(View_Type p, Eo *parent)
92 snprintf(buf, sizeof(buf), "List Page - Item #%d", i); 92 snprintf(buf, sizeof(buf), "List Page - Item #%d", i);
93 elm_list_item_append(page, buf, NULL, NULL, NULL, NULL); 93 elm_list_item_append(page, buf, NULL, NULL, NULL, NULL);
94 } 94 }
95 efl_gfx_hint_size_min_set(page, EINA_SIZE2D(200, 200));
95 evas_object_size_hint_weight_set(page, EVAS_HINT_EXPAND, 96 evas_object_size_hint_weight_set(page, EVAS_HINT_EXPAND,
96 EVAS_HINT_EXPAND); 97 EVAS_HINT_EXPAND);
97 evas_object_size_hint_align_set(page, EVAS_HINT_FILL, 98 evas_object_size_hint_align_set(page, EVAS_HINT_FILL,