summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 12:30:20 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 12:30:20 +0300
commit7f737f1b88448a8a2ccca716a09e3b37fb0c08f9 (patch)
tree829ff2c771bc1cac0cc76c30481d62da5b1743c3
parentc973e982992e500259cad207d0c555249c0ccfb8 (diff)
Translation: Minimum width for dialog
-rw-r--r--src/ui/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 93afeb4a..2352df7d 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2783,6 +2783,7 @@ int languageIndex_CStr(const char *langId) {
2783iWidget *makeTranslation_Widget(iWidget *parent) { 2783iWidget *makeTranslation_Widget(iWidget *parent) {
2784 iWidget *dlg = makeSheet_Widget("xlt"); 2784 iWidget *dlg = makeSheet_Widget("xlt");
2785 setFlags_Widget(dlg, keepOnTop_WidgetFlag, iFalse); 2785 setFlags_Widget(dlg, keepOnTop_WidgetFlag, iFalse);
2786 dlg->minSize.x = 70 * gap_UI;
2786 setCommandHandler_Widget(dlg, translationHandler_); 2787 setCommandHandler_Widget(dlg, translationHandler_);
2787 addChildFlags_Widget(dlg, 2788 addChildFlags_Widget(dlg,
2788 iClob(new_LabelWidget(uiHeading_ColorEscape "${heading.translate}", NULL)), 2789 iClob(new_LabelWidget(uiHeading_ColorEscape "${heading.translate}", NULL)),