www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit be1ffbfb761b7f529bc9e784eeb80cb004ac7ff5
parent 485dcf143b1e1e00096b577ac8b1ae66ffd354f8
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 31 Dec 2011 15:44:13 +0000

References should not have flex

Diffstat:
Mchrome/content/zotero/integration/quickFormat.js | 4++--
Mchrome/content/zotero/integration/quickFormat.xul | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js @@ -717,14 +717,14 @@ var Zotero_QuickFormat = new function () { if(!panelShowing) referencePanel.openPopup(document.documentElement, "after_start", 15, null, false, false, null); panelShowing = true; - referenceHeight = firstReference.scrollHeight+1; + referenceHeight = firstReference.scrollHeight; } if(!separatorHeight && firstSeparator) { if(!panelShowing) referencePanel.openPopup(document.documentElement, "after_start", 15, null, false, false, null); panelShowing = true; - separatorHeight = firstSeparator.scrollHeight+1; + separatorHeight = firstSeparator.scrollHeight; } referencePanel.sizeTo(window.outerWidth-30, diff --git a/chrome/content/zotero/integration/quickFormat.xul b/chrome/content/zotero/integration/quickFormat.xul @@ -65,8 +65,8 @@ <progressmeter id="quick-format-progress-meter" mode="undetermined" value="0" flex="1"/> </deck> </windowdragbox> - <panel id="quick-format-reference-panel" noautofocus="true" norestorefocus="true" noautohide="true" height="0"> - <richlistbox id="quick-format-reference-list" flex="1"/> + <panel id="quick-format-reference-panel" noautofocus="true" norestorefocus="true" noautohide="true" height="0" align="top"> + <richlistbox id="quick-format-reference-list"/> </panel> <panel id="citation-properties" type="arrow" orient="vertical" onkeypress="Zotero_QuickFormat.onPanelKeyPress(event)"