From be7f93d6886c6e7354f84f32c188c1bd8b97703d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Tue, 28 Jan 2020 17:17:24 -0300 Subject: [PATCH] [fix][ui][settings] web inputs scaling --- bauh/gems/arch/controller.py | 2 ++ bauh/gems/web/controller.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index be1f3f85..ba6a7d3a 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -904,12 +904,14 @@ class ArchManager(SoftwareManager): max_per_line=len(optz_opts), type_=SelectViewType.RADIO, tooltip=self.i18n['arch.config.optimize.tip'], + max_width=200, id_='opts'), SingleSelectComponent(label=self.i18n['arch.config.trans_dep_check'].capitalize(), options=trans_check_opts, default_option=[o for o in trans_check_opts if o.value == config['transitive_checking']][0], max_per_line=len(trans_check_opts), type_=SelectViewType.RADIO, + max_width=200, tooltip=self.i18n['arch.config.trans_dep_check.tip'], id_='dep_check')] diff --git a/bauh/gems/web/controller.py b/bauh/gems/web/controller.py index c77ada74..af29f076 100644 --- a/bauh/gems/web/controller.py +++ b/bauh/gems/web/controller.py @@ -898,6 +898,7 @@ class WebApplicationManager(SoftwareManager): value=config['environment']['electron']['version'], tooltip=self.i18n['web.settings.electron.version.tooltip'], placeholder='{}: 7.1.0'.format(self.i18n['example.short']), + max_width=200, id_='electron_version') native_opts = [ @@ -910,6 +911,7 @@ class WebApplicationManager(SoftwareManager): default_option=[o for o in native_opts if o.value == config['environment']['system']][0], type_=SelectViewType.COMBO, tooltip=self.i18n['web.settings.nativefier.tip'], + max_width=200, id_='nativefier') form_env = FormComponent(label=self.i18n['web.settings.nativefier.env'].capitalize(), components=[input_electron, select_nativefier])