PDA

View Full Version : Consistant tab heights



DrZog
3 May 2007, 2:38 AM
Is there a way to make all tabs in a tab panel the same height as the tab that has the maximum height, dynamically (does that make sense???).

Lets say you have a tab with lots of content in Tab A and Tab B has a couple of lines. When you click from Tab A to Tab B, the page hops about while everything resizes (esp if you have scrolled down the page)

JorisA
13 May 2007, 2:39 PM
Hi, I was looking for the same thing. found the solution in the documentation:
TabPanel.syncHeight() (http://extjs.com/deploy/ext/docs/output/Ext.TabPanel.html#syncHeight)

Call this after you added the tabs.

DrZog
13 May 2007, 2:40 PM
Thanks JorisA :-)