1 Sep 2011 10:53 PM #1
Problems with Layout: Fit Layout does not fit
I have problems with Layout: fit layout does not fit...
see my layout:
I have a TabPanel
--> Inside is a Panel layout card (green) (OK)
------> Inside is a List layout fit (red) (Not OK)
the list does not fit... there is a space of 17 pixels in element.style (not in css)
Does somebody have the same problem or better, a solution?
2 Sep 2011 8:59 AM #2
what happens when you change the internal panel's layout to fit from card?Wes
2 Sep 2011 10:26 AM #3
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Do you even need to nest a List within a Panel in a TabPanel?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 firstname.lastname@example.org
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.
2 Sep 2011 1:41 PM #4
Try to set the height of the list removing the fit layout: height: '100%'
4 Sep 2011 9:49 PM #5
It doesn't matter what i place in the TabPanel, everything has a space of 17 pixels...
Panel, List, Nested List... etc.
I tried swich card to fit in Panel, the effect is, that both panels are displayed...
One of the Panels was correctly fit to top and left (Layout was vbox, strech))
But when i set i to card again, its not shown correctly... even if i set vbox strech to both child-panels...
4 Sep 2011 10:03 PM #6
I found the Problem...
i had set
in my TabPanel... this results the space