Hide Details Panel and Setting Button
Hello,
If there is an obvious answer to this please forgive me, I've been searching thoroughly for the past two days.
Is it possible to toggle the right most pane to hide/show it? Though the details panel is obviously very useful sometimes I need to maximize the space my middle pane has when browsing and organizing my files. It is a little aggravating to not have control over this panel beyond resizing, which itself is very restricted (you can't make it smaller than 1/3 or a 1/4 of the screen).
Also, when hiding the Library panel the settings button disappears! I'd like to still have access to the settings of Zotero without havign to unhide, click the button, and rehide the panel. Is this possible? Is there some hidden shortcut key for accessing the settings that would obviate the need for the button?
Thanks
If there is an obvious answer to this please forgive me, I've been searching thoroughly for the past two days.
Is it possible to toggle the right most pane to hide/show it? Though the details panel is obviously very useful sometimes I need to maximize the space my middle pane has when browsing and organizing my files. It is a little aggravating to not have control over this panel beyond resizing, which itself is very restricted (you can't make it smaller than 1/3 or a 1/4 of the screen).
Also, when hiding the Library panel the settings button disappears! I'd like to still have access to the settings of Zotero without havign to unhide, click the button, and rehide the panel. Is this possible? Is there some hidden shortcut key for accessing the settings that would obviate the need for the button?
Thanks
A shortcut key for the Zotero prefs would probably be a good idea, but what are the functions in the Preferences that you find yourself needing to access frequently enough that this is an issue?
Thank you.
you can hide the details panel by modifying the overlay.xul.
======================================
--- overlay.xul 2010-02-04 19:18:38.000000000 +0800
+++ overlay.xul 2010-02-28 23:13:10.000000000 +0800
@@ -140,7 +140,7 @@
</popup>
</popupset>
- <vbox id="zotero-collections-pane" persist="width" flex="1">
+ <vbox id="zotero-collections-pane" persist="width">
<!-- This extra vbox prevents the toolbar from getting compressed when resizing
the tag selector to max height -->
<vbox flex="1">
@@ -348,7 +348,9 @@
</deck>
</vbox>
- <splitter id="zotero-view-splitter" resizebefore="closest" resizeafter="closest"/>
+ <splitter id="zotero-view-splitter" resizebefore="closest" resizeafter="closest" collapse="after">
+ <grippy/>
+ </splitter>
<vbox id="zotero-item-pane" persist="width">
<hbox class="toolbar" align="center" pack="end">
======================================
Thanks! That's a nice, clean fix.
This is the first time I modified Zotero for myself. Below are the steps for newcomers like me:
1. Find out zotero.jar.
Described in http://www.zotero.org/support/dev/modifying_zotero_files
2. Copy it into another place (in my case, Download folder), make a backup, and unzip it.
Perhaps not needed in every case. However, without this step, my Windows 7 broke into blue screen, perhaps due to the vaccine program.
3. Find out zoteroPane.xul (in zotero.jar/content/zotero) and open with a text editor.
In windows, the default program is notepad.exe, which does not show the content well. So I used NotePad++ instead (available at http://notepad-plus-plus.org/).
4. Referring to zwhuang's code above, replace lines starting with '-' with lines starting with '+' (note that '-' or '+' should not be included in the actual code). The corresponding lines can be found by searching for the 'id's (e.g. zotero-collections-pane, and zotero-view-splitter).
The context where those lines appear, as well as the content of the lines to replace, has been changed since zwhuang's post. However, this does not seem to make problem in my case.
Hiding and showing the right pane is one-click now, and it is very convenient to view both the folders and the list while I Aerosnap the Firefox window to the left or right side of the screen.
I noticed that some of the buttons are not visible when I hide the right pane, but this is not a big deal, since I can make them reappear just by clicking the separator again. I personally hope that this modification become integrated by default in the future version of Zotero!
Thanks!
- <splitter id="zotero-items-splitter" resizebefore="closest" resizeafter="closest"
- onmousemove="ZoteroPane_Local.updateToolbarPosition()"
- oncommand="ZoteroPane_Local.updateToolbarPosition()"/>
+ <splitter id="zotero-items-splitter" resizebefore="closest" resizeafter="closest" collapse="after">
+ <grippy/>
+ </splitter>
I agree with ohthere that it would be great to have this incorporated into a future version of Zotero. I don't usually want the right hand pane showing except when I am adding new items.
Thanks.
1) launch Terminal
2) go to the folder where zotero.jar is in with
cd folderName
3) extract zotero.jar with
jar xf zotero.jar
After editing, you should also rezip it with
jar cf zotero.jar content locale skin