mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Add bindings for treecell-indented-leaf and treecell-indented-folder. Fixes twisties in trees. Checkin for hyatt.
This commit is contained in:
parent
c0e9a8a365
commit
e28ad67933
@ -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 {
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user