Results 1 to 4 of 4

Thread: how to increase a panel toolbar width so it fit to the content

  1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    304
    Vote Rating
    0
      0  

    Default how to increase a panel toolbar width so it fit to the content

    Hi,
    I have a toolbar on a panel. The content of the toolbar may exceed the width of the Panel.

    I thought that putting autoScroll to true, I could have a reachable content by scrolling, but the problem is the scrollbar hides the buttons. So it is not a good solution.

    I saw post that say it is possible to add many toolbars but it is not convenient to manage the content in all cases.

    The best way would be to exceed the Panel width

    I tried to increase the width of the toolbar but it seems that there is a limit which is the Panel width

    Has any one a solution ?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,330
    Vote Rating
    1297
      0  

    Default

    Why not use the overflow scroll buttons?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,790
    Vote Rating
    390
      0  

    Default

    You may find this example helpful:

    http://dev.sencha.com/deploy/ext-4.0.../overflow.html

  4. #4
    Sencha User
    Join Date
    Jul 2010
    Posts
    304
    Vote Rating
    0
      0  

    Default

    Thanks a lot mitchellsimoens and skirtle for your answers.

    The example skirtle point is exactly what I was looking for

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •