1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    28
    Answers
    1
    Vote Rating
    7
    rhytha268 is on a distinguished road

      0  

    Default Unanswered: Override GroupTabPanel With.

    Unanswered: Override GroupTabPanel With.


    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 ?.

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,417
    Answers
    435
    Vote Rating
    201
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    Looking at the source it looks like the treepanel on the left is set to width of 150 inside of initComponent.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    28
    Answers
    1
    Vote Rating
    7
    rhytha268 is on a distinguished road

      0  

    Default


    Hi slemmon,
    Thank for reply.

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

    Thank you

  4. #4
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,417
    Answers
    435
    Vote Rating
    201
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    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.

Thread Participants: 1

Tags for this Thread