mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 16:44:15 +02:00
[fix][ui][settings] web inputs scaling
This commit is contained in:
@@ -904,12 +904,14 @@ class ArchManager(SoftwareManager):
|
|||||||
max_per_line=len(optz_opts),
|
max_per_line=len(optz_opts),
|
||||||
type_=SelectViewType.RADIO,
|
type_=SelectViewType.RADIO,
|
||||||
tooltip=self.i18n['arch.config.optimize.tip'],
|
tooltip=self.i18n['arch.config.optimize.tip'],
|
||||||
|
max_width=200,
|
||||||
id_='opts'),
|
id_='opts'),
|
||||||
SingleSelectComponent(label=self.i18n['arch.config.trans_dep_check'].capitalize(),
|
SingleSelectComponent(label=self.i18n['arch.config.trans_dep_check'].capitalize(),
|
||||||
options=trans_check_opts,
|
options=trans_check_opts,
|
||||||
default_option=[o for o in trans_check_opts if o.value == config['transitive_checking']][0],
|
default_option=[o for o in trans_check_opts if o.value == config['transitive_checking']][0],
|
||||||
max_per_line=len(trans_check_opts),
|
max_per_line=len(trans_check_opts),
|
||||||
type_=SelectViewType.RADIO,
|
type_=SelectViewType.RADIO,
|
||||||
|
max_width=200,
|
||||||
tooltip=self.i18n['arch.config.trans_dep_check.tip'],
|
tooltip=self.i18n['arch.config.trans_dep_check.tip'],
|
||||||
id_='dep_check')]
|
id_='dep_check')]
|
||||||
|
|
||||||
|
|||||||
@@ -898,6 +898,7 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
value=config['environment']['electron']['version'],
|
value=config['environment']['electron']['version'],
|
||||||
tooltip=self.i18n['web.settings.electron.version.tooltip'],
|
tooltip=self.i18n['web.settings.electron.version.tooltip'],
|
||||||
placeholder='{}: 7.1.0'.format(self.i18n['example.short']),
|
placeholder='{}: 7.1.0'.format(self.i18n['example.short']),
|
||||||
|
max_width=200,
|
||||||
id_='electron_version')
|
id_='electron_version')
|
||||||
|
|
||||||
native_opts = [
|
native_opts = [
|
||||||
@@ -910,6 +911,7 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
default_option=[o for o in native_opts if o.value == config['environment']['system']][0],
|
default_option=[o for o in native_opts if o.value == config['environment']['system']][0],
|
||||||
type_=SelectViewType.COMBO,
|
type_=SelectViewType.COMBO,
|
||||||
tooltip=self.i18n['web.settings.nativefier.tip'],
|
tooltip=self.i18n['web.settings.nativefier.tip'],
|
||||||
|
max_width=200,
|
||||||
id_='nativefier')
|
id_='nativefier')
|
||||||
|
|
||||||
form_env = FormComponent(label=self.i18n['web.settings.nativefier.env'].capitalize(), components=[input_electron, select_nativefier])
|
form_env = FormComponent(label=self.i18n['web.settings.nativefier.env'].capitalize(), components=[input_electron, select_nativefier])
|
||||||
|
|||||||
Reference in New Issue
Block a user