summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-07-23 09:14:44 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-07-23 09:14:44 +0300
commitbb09db3b0176b01d10b5c5ed339ee67e2e753f42 (patch)
treef42d61c8dae44ddace12929a1ab9f8d2f85f0f2d /src/ui/util.c
parent854b2f4b9c868a07e1c84fca7b455ec54e7df5e1 (diff)
UploadWidget: Expand to input field size
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 152df0bd..13a9237e 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1043,7 +1043,8 @@ void resizeToLargestPage_Widget(iWidget *tabs) {
1043 iWidget *pages = findChild_Widget(tabs, "tabs.pages"); 1043 iWidget *pages = findChild_Widget(tabs, "tabs.pages");
1044 iForEach(ObjectList, i, children_Widget(pages)) { 1044 iForEach(ObjectList, i, children_Widget(pages)) {
1045 setMinSize_Widget(i.object, zero_I2()); 1045 setMinSize_Widget(i.object, zero_I2());
1046// resetSize_Widget(i.object); 1046 iWidget *w = i.object;
1047 w->rect.size = zero_I2();
1047 } 1048 }
1048 arrange_Widget(tabs); 1049 arrange_Widget(tabs);
1049 iInt2 largest = zero_I2(); 1050 iInt2 largest = zero_I2();