summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 12:07:23 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 12:07:23 +0300
commiteabae64f99804c1c7521ca55d3eb883e7880df4f (patch)
tree9a30183851cb00ec728f7e3f657eee7a909b8843 /src/ui/documentwidget.c
parent52cb02415da32d1d378cafb6f475f85e9491b0b0 (diff)
Show "Line break" help text in input dialog
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index a467df10..d2a97371 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1615,7 +1615,14 @@ static void checkResponse_DocumentWidget_(iDocumentWidget *d) {
1615 : cstr_String(&resp->meta), 1615 : cstr_String(&resp->meta),
1616 uiTextCaution_ColorEscape "${dlg.input.send}", 1616 uiTextCaution_ColorEscape "${dlg.input.send}",
1617 format_CStr("!document.input.submit doc:%p", d)); 1617 format_CStr("!document.input.submit doc:%p", d));
1618 setId_Widget(addChildPosFlags_Widget(findChild_Widget(dlg, "dialogbuttons"), 1618 iWidget *buttons = findChild_Widget(dlg, "dialogbuttons");
1619 iLabelWidget *lineBreak =
1620 insertChildAfter_Widget(buttons, iClob(new_LabelWidget("${dlg.input.linebreak}"
1621 uiTextAction_ColorEscape
1622 " " shiftReturn_Icon,
1623 NULL)), 0);
1624 setTextColor_LabelWidget(lineBreak, uiTextDim_ColorId);
1625 setId_Widget(addChildPosFlags_Widget(buttons,
1619 iClob(new_LabelWidget("", NULL)), 1626 iClob(new_LabelWidget("", NULL)),
1620 front_WidgetAddPos, frameless_WidgetFlag), 1627 front_WidgetAddPos, frameless_WidgetFlag),
1621 "valueinput.counter"); 1628 "valueinput.counter");