From 00ff46d06853efb8882447dc03e420ba541180ad Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 12 Feb 2007 09:21:08 +0000 Subject: [PATCH] Closes #382, Make font sizes configurable/changeable Add font size support in external windows Windows can use the font size pref by including a line like the following in their init script: Zotero.setFontSize(rootElement); rootElement should be a XUL element that surrounds all content (but not a or or anything that doesn't have a 'style' property) Windows with treeviews also need to include zotero.css: Utilities should also do this for any GUIs they create. --- chrome/content/zotero/addCitationDialog.xul | 4 ++ chrome/content/zotero/advancedSearch.js | 4 ++ chrome/content/zotero/advancedSearch.xul | 4 ++ chrome/content/zotero/bibliography.js | 5 +++ chrome/content/zotero/bibliography.xul | 41 ++++++++++--------- chrome/content/zotero/exportOptions.js | 4 ++ chrome/content/zotero/exportOptions.xul | 28 +++++++------ chrome/content/zotero/ingester/selectitems.js | 4 ++ .../content/zotero/ingester/selectitems.xul | 20 +++++---- chrome/content/zotero/integrationDocPrefs.xul | 19 ++++----- chrome/content/zotero/note.js | 3 ++ chrome/content/zotero/overlay.js | 15 +------ chrome/content/zotero/searchDialog.js | 4 ++ chrome/content/zotero/searchDialog.xul | 12 +++--- chrome/content/zotero/selectItemsDialog.js | 6 ++- chrome/content/zotero/selectItemsDialog.xul | 4 ++ chrome/content/zotero/xpcom/zotero.js | 22 ++++++++++ chrome/skin/default/zotero/overlay.css | 23 ----------- chrome/skin/default/zotero/zotero.css | 24 +++++++++++ 19 files changed, 153 insertions(+), 93 deletions(-) diff --git a/chrome/content/zotero/addCitationDialog.xul b/chrome/content/zotero/addCitationDialog.xul index b288619791..d36dcf0180 100644 --- a/chrome/content/zotero/addCitationDialog.xul +++ b/chrome/content/zotero/addCitationDialog.xul @@ -41,6 +41,8 @@