aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/tree
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-06-29 14:16:50 +0000
committerArtur Signell <artur.signell@itmill.com>2009-06-29 14:16:50 +0000
commitde76d5380dd00b760a1c8326f5a83fc55a5948d2 (patch)
treee1f931251ad35a27cb7885291e13fd407aef5f98 /WebContent/VAADIN/themes/base/tree
parentf7a0931c2d4242442c14fe88b949df7357884a90 (diff)
downloadvaadin-framework-de76d5380dd00b760a1c8326f5a83fc55a5948d2.tar.gz
vaadin-framework-de76d5380dd00b760a1c8326f5a83fc55a5948d2.zip
Test case and fix for #3098 - Tree node text wraps to the next line if an icon is present and width is fixed
svn changeset:8265/svn branch:6.0
Diffstat (limited to 'WebContent/VAADIN/themes/base/tree')
-rw-r--r--WebContent/VAADIN/themes/base/tree/tree.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/base/tree/tree.css b/WebContent/VAADIN/themes/base/tree/tree.css
index a8b9c4495f..df680883eb 100644
--- a/WebContent/VAADIN/themes/base/tree/tree.css
+++ b/WebContent/VAADIN/themes/base/tree/tree.css
@@ -1,5 +1,6 @@
.v-tree {
- text-align: left /* Force default alignment */
+ text-align: left; /* Force default alignment */
+ overflow: hidden;
}
.v-tree-node {
background: transparent url(../common/img/sprites.png) no-repeat 5px -37px;
@@ -13,7 +14,7 @@ div.v-tree-node-leaf {
.v-tree-node-caption {
margin-left: 1em;
}
-.v-tree-node span {
+.v-tree-node-caption div {
cursor: pointer;
white-space: nowrap;
}