update: optimize prefs window panel structure

This commit is contained in:
windingwind 2024-09-24 18:02:25 +02:00
parent 7480463a04
commit 224bb0d04c

View File

@ -1,11 +1,9 @@
<linkset>
<html:link rel="localization" href="__addonRef__-preferences.ftl" />
</linkset>
<vbox
id="zotero-prefpane-__addonRef__"
onload="Zotero.__addonInstance__.hooks.onPrefsEvent('load', {window})"
<groupbox
onload="Zotero.__addonInstance__.hooks.onPrefsEvent('load', { window });"
>
<groupbox>
<label><html:h2 data-l10n-id="pref-title"></html:h2></label>
<checkbox
id="zotero-prefpane-__addonRef__-enable"
@ -26,8 +24,7 @@
<hbox class="virtualized-table-container" flex="1" height="300px">
<html:div id="__addonRef__-table-container" />
</hbox>
</groupbox>
</vbox>
</groupbox>
<vbox>
<html:label
data-l10n-id="pref-help"