Issue with VerticalSplitPanel

Hi all,

I try to use VerticalSplitPanel, but it doesn’t work, i do not see why.
In the following example, I should get :
[color=#2935e5]
I LOVE

VAADIN
[/color]

But i get only a horizontal line …

            [color=#1b5621]

VerticalSplitPanel firstSplitPanel = new VerticalSplitPanel();
setCompositionRoot(firstSplitPanel);
firstSplitPanel.setSizeFull();
firstSplitPanel.addComponent(new Label(“I LOVE”));
firstSplitPanel.addComponent(new Label(“VAADIN”));

[/color]

Eric

Where do you place the splitpanel, what is the parent layout? That layout needs to provide space for the splitpanel to make it visible. Otherwise the splitpanel might be 0x0 size. Try setting some pixel size to the splitpanel and see if that helps.