Jun 24, 2008, 1:56 PM
Tabpanel width
When I use a TabPanel without Width attribute specified or use AutoWidth="True"/"False" my TabPanel has crazy width (5000px). My page uses html tables for layout. Is it possible to make the TabPanel occupy just 100% of the containing cell and not break the layout with some weird width?
Thank you!
PS. The only workaround I found is:
<ext:Panel>
<Content>
<ext:BorderLayout>
<Center>
<ext:TabPanel>
<Tabs>
<ext:Tab>
<Content />
</ext:Tab>
</Tabs>
</ext:TabPanel>
</Center>
</ext:BorderLayout>
</Content>
</ext:Panel>
But this is kinda ugly: having to wrap TabPanel into a bunch of other containers just to get normal width. Any suggestions?