Skip to content

Commit

Permalink
修复preference布局显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
redleafnew committed Apr 15, 2024
1 parent d14aa9b commit e76df67
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 67 deletions.
130 changes: 65 additions & 65 deletions addon/chrome/content/preferences.xhtml
Expand Up @@ -9,7 +9,7 @@
</label>
<hbox>
<label value=" "></label>
<html:label width='250' for="zotero-prefpane-__addonRef__-secretkey" data-l10n-id="pref-secretkey-label">
<html:label style="width:250px" for="zotero-prefpane-__addonRef__-secretkey" data-l10n-id="pref-secretkey-label">
</html:label>
<html:input type="password" id="zotero-prefpane-__addonRef__-secretkey" value="" width='500'
preference="extensions.zotero.__addonRef__.secretkey" size="30" style="margin-right: 15px">
Expand Down Expand Up @@ -46,74 +46,74 @@
<html:h2 data-l10n-id="ifs-setting"> </html:h2>
</label>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-jcr-qu" data-l10n-id="jcr-qu"
<checkbox style='width:250px' id="zotero-prefpane-__addonRef__-jcr-qu" data-l10n-id="jcr-qu"
preference="extensions.zotero.__addonRef__.jcr.qu" />
<checkbox id="zotero-prefpane-__addonRef__-basic" data-l10n-id="basic"
preference="extensions.zotero.__addonRef__.basic" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-updated" data-l10n-id="updated"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-updated" data-l10n-id="updated"
preference="extensions.zotero.__addonRef__.updated" />
<checkbox id="zotero-prefpane-__addonRef__-sci-if" data-l10n-id="sci-if"
preference="extensions.zotero.__addonRef__.sci.if" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-sci-if5" data-l10n-id="sci-if5"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-sci-if5" data-l10n-id="sci-if5"
preference="extensions.zotero.__addonRef__.sci.if5" />
<checkbox id="zotero-prefpane-__addonRef__-ei" data-l10n-id="ei" preference="extensions.zotero.__addonRef__.ei" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-sci-up-top" data-l10n-id="sci-up-top"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-sci-up-top" data-l10n-id="sci-up-top"
preference="extensions.zotero.__addonRef__.sci.up.top" />
<checkbox id="zotero-prefpane-__addonRef__-sci-up-small" data-l10n-id="sci-up-small"
preference="extensions.zotero.__addonRef__.sci.up.small" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-chjcscd" data-l10n-id="chjcscd"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-chjcscd" data-l10n-id="chjcscd"
preference="extensions.zotero.__addonRef__.chjcscd" />
<checkbox id="zotero-prefpane-__addonRef__-pku-core" data-l10n-id="pku-core"
preference="extensions.zotero.__addonRef__.pku.core" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-nju-core" data-l10n-id="nju-core"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-nju-core" data-l10n-id="nju-core"
preference="extensions.zotero.__addonRef__.nju.core" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-sci-core" data-l10n-id="sci-core"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-sci-core" data-l10n-id="sci-core"
preference="extensions.zotero.__addonRef__.sci.core" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-ssci" data-l10n-id="ssci"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-ssci" data-l10n-id="ssci"
preference="extensions.zotero.__addonRef__.ssci" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-ajg" data-l10n-id="ajg"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-ajg" data-l10n-id="ajg"
preference="extensions.zotero.__addonRef__.ajg" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-utd24" data-l10n-id="utd24"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-utd24" data-l10n-id="utd24"
preference="extensions.zotero.__addonRef__.utd24" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-ft50" data-l10n-id="ft50"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-ft50" data-l10n-id="ft50"
preference="extensions.zotero.__addonRef__.ft50" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-ccf" data-l10n-id="ccf"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-ccf" data-l10n-id="ccf"
preference="extensions.zotero.__addonRef__.ccf" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-fms" data-l10n-id="fms"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-fms" data-l10n-id="fms"
preference="extensions.zotero.__addonRef__.fms" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-jci" data-l10n-id="jci"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-jci" data-l10n-id="jci"
preference="extensions.zotero.__addonRef__.jci" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-ahci" data-l10n-id="ahci"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-ahci" data-l10n-id="ahci"
preference="extensions.zotero.__addonRef__.ahci" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-sciwarn" data-l10n-id="sciwarn"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-sciwarn" data-l10n-id="sciwarn"
preference="extensions.zotero.__addonRef__.sciwarn" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-esi" data-l10n-id="esi"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-esi" data-l10n-id="esi"
preference="extensions.zotero.__addonRef__.esi" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-com-if" data-l10n-id="com-if"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-com-if" data-l10n-id="com-if"
preference="extensions.zotero.__addonRef__.com.if" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-agg-if" data-l10n-id="agg-if"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-agg-if" data-l10n-id="agg-if"
preference="extensions.zotero.__addonRef__.agg.if" />
</hbox>
<!-- 大学期刊分类 -->
Expand All @@ -122,77 +122,77 @@
</label>
<!-- 南农核心期刊 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-njau-core" data-l10n-id="njau-core"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-njau-core" data-l10n-id="njau-core"
preference="extensions.zotero.__addonRef__.njau.core" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-njau-high-quality" data-l10n-id="njau-high-quality"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-njau-high-quality" data-l10n-id="njau-high-quality"
preference="extensions.zotero.__addonRef__.njau.high.quality" />
</hbox>
<!-- 西南财经大学,中央财经大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-swufe" data-l10n-id="swufe"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-swufe" data-l10n-id="swufe"
preference="extensions.zotero.__addonRef__.swufe" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-cufe" data-l10n-id="cufe"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-cufe" data-l10n-id="cufe"
preference="extensions.zotero.__addonRef__.cufe" />
</hbox>
<!-- 对外经济贸易大学,山东财经大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-uibe" data-l10n-id="uibe"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-uibe" data-l10n-id="uibe"
preference="extensions.zotero.__addonRef__.uibe" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-sdufe" data-l10n-id="sdufe"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-sdufe" data-l10n-id="sdufe"
preference="extensions.zotero.__addonRef__.sdufe" />
</hbox>
<!-- 西安电子科技大学,西南交通大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-xdu" data-l10n-id="xdu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-xdu" data-l10n-id="xdu"
preference="extensions.zotero.__addonRef__.xdu" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-swjtu" data-l10n-id="swjtu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-swjtu" data-l10n-id="swjtu"
preference="extensions.zotero.__addonRef__.swjtu" />
</hbox>
<!-- 中国人民大学,厦门大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-ruc" data-l10n-id="ruc"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-ruc" data-l10n-id="ruc"
preference="extensions.zotero.__addonRef__.ruc" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-xmu" data-l10n-id="xmu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-xmu" data-l10n-id="xmu"
preference="extensions.zotero.__addonRef__.xmu" />
</hbox>
<!-- 上海交通大学,复旦大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-sjtu" data-l10n-id="sjtu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-sjtu" data-l10n-id="sjtu"
preference="extensions.zotero.__addonRef__.sjtu" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-fdu" data-l10n-id="fdu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-fdu" data-l10n-id="fdu"
preference="extensions.zotero.__addonRef__.fdu" />
</hbox>
<!-- 河海大学,四川大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-hhu" data-l10n-id="hhu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-hhu" data-l10n-id="hhu"
preference="extensions.zotero.__addonRef__.hhu" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-scu" data-l10n-id="scu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-scu" data-l10n-id="scu"
preference="extensions.zotero.__addonRef__.scu" />
</hbox>
<!-- 重庆大学,南京大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-cqu" data-l10n-id="cqu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-cqu" data-l10n-id="cqu"
preference="extensions.zotero.__addonRef__.cqu" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-nju" data-l10n-id="nju"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-nju" data-l10n-id="nju"
preference="extensions.zotero.__addonRef__.nju" />
</hbox>
<!-- 新疆大学,中国地质大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-xju" data-l10n-id="xju"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-xju" data-l10n-id="xju"
preference="extensions.zotero.__addonRef__.xju" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-cug" data-l10n-id="cug"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-cug" data-l10n-id="cug"
preference="extensions.zotero.__addonRef__.cug" />
</hbox>
<!-- 长江大学,浙江大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-cju" data-l10n-id="cju"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-cju" data-l10n-id="cju"
preference="extensions.zotero.__addonRef__.cju" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-zju" data-l10n-id="zju"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-zju" data-l10n-id="zju"
preference="extensions.zotero.__addonRef__.zju" />
</hbox>
<!-- 中国药科大学 -->
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-cpu" data-l10n-id="cpu"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-cpu" data-l10n-id="cpu"
preference="extensions.zotero.__addonRef__.cpu" />
</hbox>

Expand All @@ -201,15 +201,15 @@
<html:h2 data-l10n-id="custom-data"></html:h2>
</label>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-clsci" data-l10n-id="clsci"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-clsci" data-l10n-id="clsci"
preference="extensions.zotero.__addonRef__.clsci" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-ami" data-l10n-id="ami"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-ami" data-l10n-id="ami"
preference="extensions.zotero.__addonRef__.ami" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-nssf" data-l10n-id="nssf"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-nssf" data-l10n-id="nssf"
preference="extensions.zotero.__addonRef__.nssf" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-swupl" data-l10n-id="swupl"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-swupl" data-l10n-id="swupl"
preference="extensions.zotero.__addonRef__.swupl" />
</hbox>

Expand All @@ -219,45 +219,45 @@
<html:h2 data-l10n-id="menu-setting"></html:h2>
</label>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-bold-star" data-l10n-id="bold-star"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-bold-star" data-l10n-id="bold-star"
preference="extensions.zotero.__addonRef__.bold.star" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-remove-bold" data-l10n-id="remove-bold"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-remove-bold" data-l10n-id="remove-bold"
preference="extensions.zotero.__addonRef__.remove.bold" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-remove-star" data-l10n-id="remove-star"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-remove-star" data-l10n-id="remove-star"
preference="extensions.zotero.__addonRef__.remove.star" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-remove-bold-star" data-l10n-id="remove-bold-star"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-remove-bold-star" data-l10n-id="remove-bold-star"
preference="extensions.zotero.__addonRef__.remove.bold.star" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-chang-author-case" data-l10n-id="chang-author-case"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-chang-author-case" data-l10n-id="chang-author-case"
preference="extensions.zotero.__addonRef__.chang.author.case" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-swap-author" data-l10n-id="swap-author"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-swap-author" data-l10n-id="swap-author"
preference="extensions.zotero.__addonRef__.swap.author" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-chang-title" data-l10n-id="chang-title"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-chang-title" data-l10n-id="chang-title"
preference="extensions.zotero.__addonRef__.chang.title" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-chang-pub-title" data-l10n-id="chang-pub-title"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-chang-pub-title" data-l10n-id="chang-pub-title"
preference="extensions.zotero.__addonRef__.chang.pub.title" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-chang-pub-title-case" data-l10n-id="chang-pub-title-case"
preference="extensions.zotero.__addonRef__.chang.pub.title.case" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-item-title-find-replace"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-chang-pub-title-case"
data-l10n-id="chang-pub-title-case" preference="extensions.zotero.__addonRef__.chang.pub.title.case" />
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-item-title-find-replace"
data-l10n-id="item-title-find-replace" preference="extensions.zotero.__addonRef__.item.title.find.replace" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-show-profile-dir" data-l10n-id="show-profile-dir"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-show-profile-dir" data-l10n-id="show-profile-dir"
preference="extensions.zotero.__addonRef__.show.profile.dir" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-show-data-dir" data-l10n-id="show-data-dir"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-show-data-dir" data-l10n-id="show-data-dir"
preference="extensions.zotero.__addonRef__.show.data.dir" />
</hbox>
<hbox>
<checkbox width='250' id="zotero-prefpane-__addonRef__-menu-sep1" data-l10n-id="menu-sep-1"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-menu-sep1" data-l10n-id="menu-sep-1"
preference="extensions.zotero.__addonRef__.sep1" />
<checkbox width='250' id="zotero-prefpane-__addonRef__-menu-sep2" data-l10n-id="menu-sep-2"
<checkbox style="width:250px" id="zotero-prefpane-__addonRef__-menu-sep2" data-l10n-id="menu-sep-2"
preference="extensions.zotero.__addonRef__.sep2" />
</hbox>

Expand All @@ -268,7 +268,7 @@
</label>
<!-- 题目改为句首字母大写 -->
<hbox>
<checkbox width='400' id="zotero-prefpane-__addonRef__-shortcut-title-sentence"
<checkbox style="width:400px" id="zotero-prefpane-__addonRef__-shortcut-title-sentence"
data-l10n-id="shortcut-title-sentence" preference="extensions.zotero.__addonRef__.shortcut.title.sentence" />
<label value="Ctrl + "></label>
<html:input type="text" id="zotero-prefpane-__addonRef__-shortcut-input-title-sentence" value="T" width='5'
Expand All @@ -277,7 +277,7 @@
</hbox>
<!-- 期刊名称改为词首字母大写 -->
<hbox>
<checkbox width='400' id="zotero-prefpane-__addonRef__-shortcut-publication-title-case"
<checkbox style="width:400px" id="zotero-prefpane-__addonRef__-shortcut-publication-title-case"
data-l10n-id="shortcut-publication-title-case"
preference="extensions.zotero.__addonRef__.shortcut.publication.title.case" />
<label value="Ctrl + "></label>
Expand All @@ -288,7 +288,7 @@
</hbox>
<!-- 显示数据目录 -->
<hbox>
<checkbox width='400' id="zotero-prefpane-__addonRef__-shortcut-data-dir" data-l10n-id="shortcut-data-dir"
<checkbox style="width:400px" id="zotero-prefpane-__addonRef__-shortcut-data-dir" data-l10n-id="shortcut-data-dir"
preference="extensions.zotero.__addonRef__.shortcut.data.dir" />
<label value="Alt + "></label>
<html:input type="text" id="zotero-prefpane-__addonRef__-shortcut-input-data-dir" value="D" width='5'
Expand All @@ -297,8 +297,8 @@
</hbox>
<!-- 显示配置目录 -->
<hbox>
<checkbox width='400' id="zotero-prefpane-__addonRef__-shortcut-profile-dir" data-l10n-id="shortcut-profile-dir"
preference="extensions.zotero.__addonRef__.shortcut.profile.dir" />
<checkbox style="width:400px" id="zotero-prefpane-__addonRef__-shortcut-profile-dir"
data-l10n-id="shortcut-profile-dir" preference="extensions.zotero.__addonRef__.shortcut.profile.dir" />
<label value="Alt + "></label>
<html:input type="text" id="zotero-prefpane-__addonRef__-shortcut-input-profile-dir" value="P" width='5'
preference="extensions.zotero.__addonRef__.shortcut.input.profile.dir" size="4" style="margin-right: 15px">
Expand Down

0 comments on commit e76df67

Please sign in to comment.