From aa96c69088049bad44904e37d8026464e5cd2856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 28 Apr 2025 22:12:01 +0200 Subject: [PATCH] Use larger translation dialog for expanded widget Closes #13987 (grafted from c2863a3bf130e88c0dc97866d4a5bff699af944d) --HG-- branch : 7.0 --- sao/src/view/form.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sao/src/view/form.js b/sao/src/view/form.js index e26e65e569..2bb1dc9b01 100644 --- a/sao/src/view/form.js +++ b/sao/src/view/form.js @@ -1357,7 +1357,8 @@ function eval_pyson(value){ class_: 'form', init: function(languages, widget) { var dialog = new Sao.Dialog( - Sao.i18n.gettext('Translate'), this.class_, 'md'); + Sao.i18n.gettext('Translate'), this.class_, + widget.expand? 'lg' : 'md'); this.languages = languages; this.read(widget, dialog); jQuery('