Display problem: Can't see the right border of a div

Hi everyone,

I’m a recent user of vaadin (6.6.0), and I have difficulties to set border style. My problem is that I can’t see the right border.
With a console like FireBug or the one with Chrome, it seems that the subLayout width is larger than the main layout.

I use vaadin method to display layout, (setSizeFull, setSpacing etc… ) and some css to add color and font size.

Someone knows how to fix this problem?

Thanks!

My code:



public class MyprojecApplication extends Application {
	
    public void init() { 
        Window main = new Window("Hello window"); 
        setMainWindow(main);
        
		Panel mainPanel = new Panel();
		mainPanel.setSizeFull();
       
		VerticalLayout verticalLayout = new VerticalLayout();
		verticalLayout.setSizeFull();

		VerticalLayout subLayout = new VerticalLayout();
		subLayout.setSizeFull();

		mainPanel.addComponent(verticalLayout);
		verticalLayout.addComponent(subLayout);
		subLayout.setStyleName("redBorder");
		subLayout.addComponent(new Label("Hello World!"));
		
		main.addComponent(mainPanel);
		
		setTheme("contacts");
    }

}

and the css :



.redBorder{
	border  : 1px solid red;
}