diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-06-29 14:16:50 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-06-29 14:16:50 +0000 |
commit | de76d5380dd00b760a1c8326f5a83fc55a5948d2 (patch) | |
tree | e1f931251ad35a27cb7885291e13fd407aef5f98 /WebContent/VAADIN/themes/base/tree | |
parent | f7a0931c2d4242442c14fe88b949df7357884a90 (diff) | |
download | vaadin-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.css | 5 |
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; } |