Styling Layouts

Hello.
I´m developing a portlet with VAADIN (6.8.5) and i want to style a HorizontalLayout with a border.
The problem is that im setting the layout width with setSizeFull() and the right border disappears.
Help please.