updated sidebar with treeView interface.

This commit is contained in:
David Norton 2006-02-24 17:50:24 +00:00
parent 686389ced5
commit b0e5715c17

View file

@ -3,8 +3,10 @@
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"Ê?>
<page id="scholar-sidebar" title="Scholar"
onload="setView()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
<script src="sidebar.js"/>
<tree
id="scholar-sidebar-items"
@ -19,56 +21,29 @@
<treecol
id="title_column"
label="Title"
flex="1"
sort="?rsst"
persist="width ordinal hidden sortActive sortDirection"/>
flex="1"/>
<splitter class="tree-splitter"/>
<treecol
id="description_column"
label="Description"
flex="1"
sort="?rssd"
persist="width ordinal hidden sortActive sortDirection"/>
flex="1"/>
<splitter class="tree-splitter"/>
<treecol
id="link_column"
label="URL"
flex="1"
sort="?rssl"
persist="width ordinal hidden sortActive sortDirection"/>
</treecols>
</tree>
<tree
id="scholar-sidebar-notes"
seltype="multiple"
flex="1"
enableColumnDrag="true"
datasources="rdf:null"
ref=""
flags="dont-build-content">
<treecols>
<treecol
id="title_column"
label="Title"
flex="1"
sort="?rsst"
persist="width ordinal hidden sortActive sortDirection"/>
<splitter class="tree-splitter"/>
<treecol
id="description_column"
label="Description"
flex="1"
sort="?rssd"
persist="width ordinal hidden sortActive sortDirection"/>
<splitter class="tree-splitter"/>
<treecol
id="link_column"
label="URL"
flex="1"
sort="?rssl"
persist="width ordinal hidden sortActive sortDirection"/>
flex="1"/>
</treecols>
<treechildren/>
</tree>
<splitter collapse="before" resizeafter="grow"/>
<vbox>
<label control="test1" value="Test1:"/>
<textbox id="test1"/>
<label control="test2" value="Test2:"/>
<textbox id="test2"/>
<label control="test3" value="Test3:"/>
<textbox id="test3"/>
</vbox>
</page>