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,551
    Vote Rating
    1271
      0  

    Default

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

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

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,790
    Vote Rating
    391
      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
  •