Skip to content

Commit

Permalink
ui: 调整设置窗口调度,修复转换器页面展示不全问题
Browse files Browse the repository at this point in the history
  • Loading branch information
l0o0 committed Oct 22, 2022
1 parent 63b4631 commit 9b3be89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions chrome/content/preferences.xul
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<tab label="&about;"/>
</tabs>

<tabpanels id="zotero-prefpane-jasminum" orient="vertical" minheight="540">
<tabpanel id="zotero-prefpane-chinese-tab">
<tabpanels id="zotero-prefpane-jasminum">
<tabpanel id="zotero-prefpane-chinese-tab" orient="vertical" minheight="600">
<vbox flex="1">
<groupbox>
<caption label="&chinese.caption;"/>
Expand Down Expand Up @@ -132,7 +132,7 @@
</groupbox>
</vbox>
</tabpanel>
<tabpanel id="zotero-prefpane-translators-tab" orient="vertical">
<tabpanel id="zotero-prefpane-translators-tab" orient="vertical" minheight="600">
<description>&translator.notiice;</description>
<listbox id="translators-listbox" flex="1">
<listhead>
Expand Down
2 changes: 1 addition & 1 deletion chrome/content/scripts/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ initTranslatorPanel = async function (update = true) {
listbox.appendChild(listitem);
}
// Create empty row for Mac to take up the last row space
if (Zotero.isMac) {
if (Zotero.isMac || Zotero.isLinux) {
listitem = document.createElement("listitem");
listcell = document.createElement("listcell");
listitem.appendChild(listcell);
Expand Down

0 comments on commit 9b3be89

Please sign in to comment.