This commit is contained in:
hyatt%netscape.com 2000-06-19 22:58:56 +00:00
Родитель a82cfc01fa
Коммит 31c86915c5
3 изменённых файлов: 23 добавлений и 17 удалений

Просмотреть файл

@ -251,30 +251,31 @@
<treecolgroup id="theColumns">
<treecol id="Name"
sortSeparators="true" persist="hidden width" width="4*"
sortSeparators="true" persist="hidden width" width="4*" flex="4"
rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
<splitter/>
<treecol id="URL"
sortSeparators="true" persist="hidden width" width="4*"
sortSeparators="true" persist="hidden width" width="4*" flex="4"
rdf:resource="http://home.netscape.com/NC-rdf#URL"
rdf:resource2="http://home.netscape.com/NC-rdf#Name"/>
<treecol id="ShortcutURL"
sortSeparators="true" persist="hidden width" width="1*"
sortSeparators="true" persist="hidden width" width="1*" flex="1"
rdf:resource="http://home.netscape.com/NC-rdf#ShortcutURL"
rdf:resource2="http://home.netscape.com/NC-rdf#Name"/>
<treecol id="Description"
sortSeparators="true" persist="hidden width" width="1*"
sortSeparators="true" persist="hidden width" width="1*" flex="1"
rdf:resource="http://home.netscape.com/NC-rdf#Description"
rdf:resource2="http://home.netscape.com/NC-rdf#Name"/>
<treecol id="LastVisitDate"
sortSeparators="true" persist="hidden width" width="1*"
sortSeparators="true" persist="hidden width" width="1*" flex="1"
rdf:resource="http://home.netscape.com/WEB-rdf#LastVisitDate"
rdf:resource2="http://home.netscape.com/NC-rdf#Name"/>
<treecol id="BookmarkAddDate"
sortSeparators="true" persist="hidden width" width="1*"
sortSeparators="true" persist="hidden width" width="1*" flex="1"
rdf:resource="http://home.netscape.com/NC-rdf#BookmarkAddDate"
rdf:resource2="http://home.netscape.com/NC-rdf#Name"/>
<treecol id="LastModifiedDate"
sortSeparators="true" persist="hidden width" width="1*"
sortSeparators="true" persist="hidden width" width="1*" flex="1"
rdf:resource="http://home.netscape.com/WEB-rdf#LastModifiedDate"
rdf:resource2="http://home.netscape.com/NC-rdf#Name"/>
<treecol persist="width" fixed="true" width="14" id="PopupColumn"/>
@ -322,7 +323,7 @@
</treecell>
</treerow>
</treehead>
<treechildren id="treechildren-bookmarks"
<treechildren flex="1" id="treechildren-bookmarks"
onclick="return OpenURL(event, event.target.parentNode.parentNode,
'bookmarksTree');"/>
</tree>

Просмотреть файл

@ -89,12 +89,12 @@
</binding>
<binding id="tree">
<!-- <content>
<content>
<children/>
<xul:treerows>
<children includes="treehead,treechildren"/>
</xul:treerows>
</content> -->
</content>
<interface>
<property name="treeBoxObject"
onget="return this.boxObject.QueryInterface(Components.interfaces.nsITreeBoxObject);"

Просмотреть файл

@ -231,8 +231,8 @@ menupopup, popup {
/******** Tree widget **********/
tree {
display: table;
table-layout: fixed;
/*display: table;
table-layout: fixed;*/
width: 200px;
height: 200px;
min-width: 0px;
@ -242,15 +242,16 @@ tree {
tree > treechildren {
behavior: url("chrome://global/content/treeBindings.xml#treerows");
/* overflow: auto;
min-height: 0px;*/
overflow: auto;
min-height: 0px;
}
treeitem {
display: table-row-group;
/* display: table-row-group; */
behavior: url("chrome://global/content/treeBindings.xml#treeitem");
}
/*
treerow {
display: table-row;
}
@ -262,9 +263,10 @@ treehead {
treechildren {
display: table-row-group;
}
*/
treecell {
display: table-cell;
/* display: table-cell;*/
vertical-align: middle;
behavior: url("chrome://global/content/treeBindings.xml#treecell");
}
@ -294,9 +296,11 @@ treeitem > treechildren {
}
treeitem[open="true"] > treechildren {
display: table-row-group;
/* display: table-row-group;*/
display: block;
}
/*
treecol {
display: table-column;
}
@ -304,6 +308,7 @@ treecol {
treecolgroup {
display: table-column-group;
}
*/
/********** Tab widget *********/