Add bindings for treecell-indented-leaf and treecell-indented-folder. Fixes twisties in trees. Checkin for hyatt.

This commit is contained in:
slamm%netscape.com 2000-04-26 14:17:33 +00:00
parent c0e9a8a365
commit e28ad67933
2 changed files with 14 additions and 2 deletions

View File

@ -219,7 +219,11 @@ treecell {
}
.treecell-indent {
behavior: url("resource:/chrome/xulBindings.xml#treecell-indented");
behavior: url("resource:/chrome/xulBindings.xml#treecell-indented-leaf");
}
treeitem[container="true"] > treerow > .treecell-indent {
behavior: url("resource:/chrome/xulBindings.xml#treecell-indented-folder");
}
.treecell-iconic {

View File

@ -143,7 +143,7 @@
</handlers>
</binding>
<binding id="treecell-indented">
<binding id="treecell-indented-folder">
<content autostretch="never">
<xul:treeindentation/>
<xul:image class="tree-cell-twisty" twisty="true" allowevents="true"/>
@ -152,6 +152,14 @@
</content>
</binding>
<binding id="treecell-indented-leaf">
<content autostretch="never">
<xul:treeindentation/>
<xul:image class="tree-cell-primary-icon" inherits="src"/>
<xul:text class="tree-cell-text" inherits="crop,value,align" flex="1" crop="right"/>
</content>
</binding>
<binding id="treecell-iconic">
<content autostretch="never">
<xul:image class="tree-cell-icon" inherits="src"/>