PDA

View Full Version : Fit to size for TabPanel



maku
6 Jul 2008, 9:25 AM
Hi,

I've a problem with sizing on TabPanel's.

When I add a panel to a TabItem I've to size the panel explicitly (the panel is of type ContentPanel).

The layout of TabItem and the panel is FitLayout.

Could anybody explain the "right" approach to do automatic sizing of the panel when placed in a TabPanel.

TIA

Martin

maku
7 Jul 2008, 1:32 PM
The reason for the problem what that the parent container of the TabPanel had no proper Layout. I set to FitLayout and it works.