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.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 994f4671..7af9ca8b 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1708,9 +1708,12 @@ iWidget *makeValueInput_Widget(iWidget *parent, const iString *initialValue, con
1708 setId_Widget( 1708 setId_Widget(
1709 addChildFlags_Widget(dlg, iClob(new_LabelWidget(title, NULL)), frameless_WidgetFlag), 1709 addChildFlags_Widget(dlg, iClob(new_LabelWidget(title, NULL)), frameless_WidgetFlag),
1710 "valueinput.title"); 1710 "valueinput.title");
1711 setId_Widget( 1711 iLabelWidget *promptLabel;
1712 addChildFlags_Widget(dlg, iClob(new_LabelWidget(prompt, NULL)), frameless_WidgetFlag), 1712 setId_Widget(addChildFlags_Widget(
1713 "valueinput.prompt"); 1713 dlg, iClob(promptLabel = new_LabelWidget(prompt, NULL)), frameless_WidgetFlag
1714 | resizeToParentWidth_WidgetFlag | fixedHeight_WidgetFlag),
1715 "valueinput.prompt");
1716 setWrap_LabelWidget(promptLabel, iTrue);
1714 iInputWidget *input = addChildFlags_Widget(dlg, iClob(new_InputWidget(0)), 1717 iInputWidget *input = addChildFlags_Widget(dlg, iClob(new_InputWidget(0)),
1715 resizeToParentWidth_WidgetFlag); 1718 resizeToParentWidth_WidgetFlag);
1716 setContentPadding_InputWidget(input, 0.5f * gap_UI, 0.5f * gap_UI); 1719 setContentPadding_InputWidget(input, 0.5f * gap_UI, 0.5f * gap_UI);