summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 6fa3e293..f430ac1c 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1138,6 +1138,9 @@ static iAnyObject *addPanelChild_(iWidget *panel, iAnyObject *child, int64_t fla
1138 precedingElementType != heading_PrefsElement) || 1138 precedingElementType != heading_PrefsElement) ||
1139 (elementType == dropdown_PrefsElement && 1139 (elementType == dropdown_PrefsElement &&
1140 precedingElementType != dropdown_PrefsElement && 1140 precedingElementType != dropdown_PrefsElement &&
1141 precedingElementType != heading_PrefsElement) ||
1142 (elementType == textInput_PrefsElement &&
1143 precedingElementType != textInput_PrefsElement &&
1141 precedingElementType != heading_PrefsElement)) { 1144 precedingElementType != heading_PrefsElement)) {
1142 addChild_Widget(panel, iClob(makePadding_Widget(lineHeight_Text(defaultBig_FontId)))); 1145 addChild_Widget(panel, iClob(makePadding_Widget(lineHeight_Text(defaultBig_FontId))));
1143 } 1146 }
@@ -1552,6 +1555,7 @@ void finalizeSheet_Widget(iWidget *sheet) {
1552 resizeToParentWidth_WidgetFlag | arrangeVertical_WidgetFlag); 1555 resizeToParentWidth_WidgetFlag | arrangeVertical_WidgetFlag);
1553 } 1556 }
1554 updateSheetPanelMetrics_(sheet); 1557 updateSheetPanelMetrics_(sheet);
1558 iAssert(sheet->parent);
1555 arrange_Widget(sheet->parent); 1559 arrange_Widget(sheet->parent);
1556 postCommand_App("widget.overflow"); /* with the correct dimensions */ 1560 postCommand_App("widget.overflow"); /* with the correct dimensions */
1557// printTree_Widget(sheet); 1561// printTree_Widget(sheet);