From 30b867691a2cd15844e1db6c8607127da8aa708f 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 --- 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 cbac11d3a0..13c7cfb57b 100644 --- a/sao/src/view/form.js +++ b/sao/src/view/form.js @@ -1423,7 +1423,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('