commit 81b6974053b6a2d22ae188e61d212ffac3fcb769
parent d5e9ca11f3d4b72b68afd11df4d6274d7ac80a0d
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 17 Nov 2011 02:10:10 -0500
Add more reasonable "Medium" font setting, and shift M/L to L/XL
Also adjust spacing of radio buttons in General pref pane
Diffstat:
3 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul
@@ -78,10 +78,11 @@ To add a new preference:
<hbox align="center">
<label value="&zotero.preferences.fontSize;" control="fontSize"/>
</hbox>
- <radiogroup id="fontSize" orient="horizontal" preference="pref-fontSize">
+ <radiogroup id="fontSize" orient="horizontal" align="center" preference="pref-fontSize">
<radio id="fontSize1" label="&zotero.preferences.fontSize.small;" value="1.0"/>
- <radio id="fontSize2" label="&zotero.preferences.fontSize.medium;" value="1.25"/>
- <radio id="fontSize3" label="&zotero.preferences.fontSize.large;" value="1.5"/>
+ <radio id="fontSize2" label="&zotero.preferences.fontSize.medium;" value="1.15"/>
+ <radio id="fontSize3" label="&zotero.preferences.fontSize.large;" value="1.3"/>
+ <radio id="fontSize4" label="&zotero.preferences.fontSize.xlarge;" value="1.5"/>
</radiogroup>
</row>
diff --git a/chrome/locale/en-US/zotero/preferences.dtd b/chrome/locale/en-US/zotero/preferences.dtd
@@ -17,6 +17,7 @@
<!ENTITY zotero.preferences.fontSize.small "Small">
<!ENTITY zotero.preferences.fontSize.medium "Medium">
<!ENTITY zotero.preferences.fontSize.large "Large">
+<!ENTITY zotero.preferences.fontSize.xlarge "X-Large">
<!ENTITY zotero.preferences.fontSize.notes "Note font size:">
<!ENTITY zotero.preferences.miscellaneous "Miscellaneous">
diff --git a/chrome/skin/default/zotero/preferences.css b/chrome/skin/default/zotero/preferences.css
@@ -50,24 +50,31 @@ grid row hbox:first-child
#fontSize2
{
- font-size: 1.25em;
+ font-size: 1.15em;
}
#fontSize3
{
+ font-size: 1.3em;
+}
+
+#fontSize4
+{
font-size: 1.5em;
}
-#fontSize radio, #statusBarIcon radio
+
+#showIn radio, #statusBarIcon radio
{
- width: 90px;
+ width: 120px;
}
-#showIn radio
+
+#fontSize radio
{
- width: 135px;
+ margin-right: 20px;
}
-#fontSize radio .radio-icon, #statusBarIcon radio .radio-icon
+#statusBarIcon radio .radio-icon
{
margin-left: 6px;
}