PDA

View Full Version : Problems with Layout: Fit Layout does not fit



Saemy
1 Sep 2011, 10:53 PM
Hi everybody,

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?

Saemy

darthwes
2 Sep 2011, 8:59 AM
what happens when you change the internal panel's layout to fit from card?

mitchellsimoens
2 Sep 2011, 10:26 AM
Do you even need to nest a List within a Panel in a TabPanel?

steve1964
2 Sep 2011, 1:41 PM
Try to set the height of the list removing the fit layout: height: '100%'

Saemy
4 Sep 2011, 9:49 PM
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...

:((

Saemy
4 Sep 2011, 10:03 PM
I found the Problem... ~o):)

i had set

defaults: {
styleHtmlContent: true
},

in my TabPanel... this results the space