Double click an item to un-collapse the item pane.

The item pane remembers whether or not it was collapsed.
This commit is contained in:
David Norton 2006-06-19 18:43:21 +00:00
parent 8d50874d6b
commit d87f68e8e8

View file

@ -77,6 +77,7 @@
ondraggesture="if (event.target.localName == 'treechildren') nsDragAndDrop.startDrag(event,ScholarPane.getItemsView());" ondraggesture="if (event.target.localName == 'treechildren') nsDragAndDrop.startDrag(event,ScholarPane.getItemsView());"
ondragover="nsDragAndDrop.dragOver(event,ScholarPane.getItemsView())" ondragover="nsDragAndDrop.dragOver(event,ScholarPane.getItemsView())"
ondragdrop="nsDragAndDrop.drop(event,ScholarPane.getItemsView())" ondragdrop="nsDragAndDrop.drop(event,ScholarPane.getItemsView())"
ondblclick="document.getElementById('scholar-view-splitter').setAttribute('state','open');"
flex="1"> flex="1">
<treecols> <treecols>
<treecol <treecol
@ -119,12 +120,10 @@
label="&items.dateModified_column;" label="&items.dateModified_column;"
flex="1" persist="width ordinal hidden sortActive sortDirection"/> flex="1" persist="width ordinal hidden sortActive sortDirection"/>
</treecols> </treecols>
<treechildren/> <treechildren/>
</tree> </tree>
</vbox> </vbox>
<splitter id="scholar-view-splitter" collapse="after"><grippy/></splitter> <splitter id="scholar-view-splitter" collapse="after" persist="state"><grippy/></splitter>
<box width="300" style="min-width: 300px;" pack="center" align="center"> <box width="300" style="min-width: 300px;" pack="center" align="center">
<label id="scholar-view-selected-label" style="text-align: center;"/> <label id="scholar-view-selected-label" style="text-align: center;"/>
<tabbox id="scholar-view-item" hidden="true" flex="1"/> <tabbox id="scholar-view-item" hidden="true" flex="1"/>