ethraza
7 Jul 2007, 3:51 AM
I have a Borderlayout with north, south, east and center.
I'm creating a TabPanel inside the center and loading all my pages into dynamic tabs.
But when a tab is created and the content set, I can see a blue line that grows with the content height. That blue line is bottom of the tab.
How can I make that tab automatic fitTo the size of the center layout panel?
So that tab get a scroll bar if the content loaded inside it is bigger than the screen.
At the time I'm doing a dirty thing, so I can see it. I'm setting the tabpanel height via syncHeight to the height if the east panel + 23px. (centertabs.syncHeight(Ext.get('east').getHeight()+23);) But I think that exists a better solution to that.
Thanks!
I'm creating a TabPanel inside the center and loading all my pages into dynamic tabs.
But when a tab is created and the content set, I can see a blue line that grows with the content height. That blue line is bottom of the tab.
How can I make that tab automatic fitTo the size of the center layout panel?
So that tab get a scroll bar if the content loaded inside it is bigger than the screen.
At the time I'm doing a dirty thing, so I can see it. I'm setting the tabpanel height via syncHeight to the height if the east panel + 23px. (centertabs.syncHeight(Ext.get('east').getHeight()+23);) But I think that exists a better solution to that.
Thanks!