summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-03 14:16:26 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-03 14:16:26 +0300
commit1bc93daa34b1094f41cf19f20342c94c4e423244 (patch)
treed18d7bd6cded7d4524e9656a0fce3f472b866050 /client
parent5833ae25ec617e2ea93eeef669b2fd247d8f394c (diff)
downloadvaadin-framework-1bc93daa34b1094f41cf19f20342c94c4e423244.tar.gz
vaadin-framework-1bc93daa34b1094f41cf19f20342c94c4e423244.zip
Another fix for boxlayouts in component locator
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ComponentLocator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ComponentLocator.java b/client/src/com/vaadin/client/ComponentLocator.java
index c286b2fb9d..c57a143b27 100644
--- a/client/src/com/vaadin/client/ComponentLocator.java
+++ b/client/src/com/vaadin/client/ComponentLocator.java
@@ -519,7 +519,8 @@ public class ComponentLocator {
*/
if ((w instanceof VMeasuringOrderedLayout
|| w instanceof VBoxLayout || w instanceof VGridLayout)
- && "ChildComponentContainer".equals(widgetClassName)
+ && ("ChildComponentContainer".equals(widgetClassName) || "VBoxLayout$Slot"
+ .equals(widgetClassName))
&& i + 1 < parts.length) {
HasWidgets layout = (HasWidgets) w;