summaryrefslogtreecommitdiff
path: root/src/ui/widget.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/widget.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/widget.c')
-rw-r--r--src/ui/widget.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 78a8a8bf..da7efb57 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -1130,6 +1130,10 @@ iAny *addChild_Widget(iWidget *d, iAnyObject *child) {
1130} 1130}
1131 1131
1132iAny *addChildPos_Widget(iWidget *d, iAnyObject *child, enum iWidgetAddPos addPos) { 1132iAny *addChildPos_Widget(iWidget *d, iAnyObject *child, enum iWidgetAddPos addPos) {
1133 return addChildPosFlags_Widget(d, child, addPos, 0);
1134}
1135
1136iAny *addChildPosFlags_Widget(iWidget *d, iAnyObject *child, enum iWidgetAddPos addPos, int64_t flags) {
1133 iAssert(child); 1137 iAssert(child);
1134 iAssert(d != child); 1138 iAssert(d != child);
1135 iWidget *widget = as_Widget(child); 1139 iWidget *widget = as_Widget(child);
@@ -1144,6 +1148,9 @@ iAny *addChildPos_Widget(iWidget *d, iAnyObject *child, enum iWidgetAddPos addPo
1144 pushFront_ObjectList(d->children, widget); /* ref */ 1148 pushFront_ObjectList(d->children, widget); /* ref */
1145 } 1149 }
1146 widget->parent = d; 1150 widget->parent = d;
1151 if (flags) {
1152 setFlags_Widget(child, flags, iTrue);
1153 }
1147 return child; 1154 return child;
1148} 1155}
1149 1156