26 Mar 2012 8:50 AM #1
how to increase a panel toolbar width so it fit to the content
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 ?
26 Mar 2012 9:51 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Why not use the overflow scroll buttons?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.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.
26 Mar 2012 1:12 PM #3
27 Mar 2012 4:16 AM #4
Thanks a lot mitchellsimoens and skirtle for your answers.
The example skirtle point is exactly what I was looking for