PDA

View Full Version : Layout vbox + fieldcontainer + collapsible = no scrollbars



havvg
13 Oct 2014, 5:50 AM
Hi there,

I'm pretty new to ExtJS and got the following layout issue: http://jsfiddle.net/p6r4zduf/

I got a container which has a fixed height and within said container another one with a minHeight and collapsible panels. When opening a panel which height is too high, the container does not provide any scrollbars, regardless the scroll/overflow settings.

I tried several combinations, but did not get it running.

Any advice?
- havvg

slemmon
14 Oct 2014, 3:53 AM
Hi,

You'll want to set autoScroll: true on the child panel of your viewport.

bpa

havvg
14 Oct 2014, 5:19 AM
Hi slemmon,

thanks for your answer, unfortunately seeing your fix, I realised my example was not close enough to what I got. I built it step by step to have the least common nominator, when having the failure, I thought I was done. You proofed me wrong. Therefore I updated the example to a more closer example (including the autoScroll you suggested): http://jsfiddle.net/jt3mwnre/1/ Unfortunately it didn't help me out here.

Sorry on the wrong example in the first place.

Best Regards,
havvg