summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-12 17:01:42 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-12 17:01:42 +0300
commit49a37f2392486146c2f4683439dcbb8338bfd04c (patch)
treeb3dae510c11e3d82bb1470d62dba719c4fd1cbb2 /src/ui/util.c
parentfc6f5c1e0d72042a274ce7b33b9f04f7cad7de77 (diff)
Mobile: CertImportWidget, UI tweaks
The Import Identity dialog is now styled for mobile, although could use a little more tuning.
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);