PDA

View Full Version : Override GroupTabPanel With.



rhytha268
14 Apr 2013, 11:49 PM
Hi,

I want to override "Ext.ux.GroupTabPanel" width.
Default width of GroupTabPanel is 150 i want to change it 250 by override.

Any idea Please ?.

slemmon
16 Apr 2013, 12:20 PM
Looking at the source it looks like the treepanel on the left is set to width of 150 inside of initComponent.

rhytha268
18 Apr 2013, 4:50 AM
Hi slemmon (http://www.sencha.com/forum/member.php?67514-slemmon),
Thank for reply.

In group tab panel base class it's default width is 150.
Now just wanted to override it.

Thank you

slemmon
18 Apr 2013, 2:44 PM
That component doesn't offer a convenient way to pass in a width to the tree panel.
You'll have to do an Ext.override on the class and override its initComponent method altogether.