diff options
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 3 |
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(); |