PDA

View Full Version : fieldset not scrolling...



nofx
6 Oct 2011, 5:38 AM
I have a fieldset, but i can't scroll down. The property 'scroll' is set to 'vertical'. When i scroll down it simply jumps back to the top.

This is how my code looks:



app.views.personal = Ext.extend(Ext.Panel, {
fullscreen: true,
cls: 'background',
items: [{
xtype: 'fieldset',
id: 'rform',
title: 'Persoonlijke gegevens',
instructions: 'Vul aub alle bovenstaande gegevens in',
fullscreen: true,
flex: 1,
scroll: 'vertical',
defaults: {
labelWidth: '40%'
},
items: [ // ... my fields are defined here ]
});


Anyone any idea how to make the scrolling work... Cause im clueless at the moment.

nofx
7 Oct 2011, 3:16 AM
So.. anyone any idea..?? Maybe the Sencha Team??

This is probably a bug, but there surely must be some solution... I'm really stuck with this issue righit now...

nofx
7 Oct 2011, 8:11 AM
bump

nofx
9 Oct 2011, 4:34 AM
lol, anyone...?

mcorderoy
10 Oct 2011, 1:06 AM
I'm having similar problems, I think it may help if you include the property

layout : 'fit',

Also, if the panel is a child of another you may not need the fullscreen property

nofx
10 Oct 2011, 1:15 AM
I actually just found out that the problem was that i tried to set the scrolling to the fieldset.

My fieldset is a child of a panel. If i set scroll:'vertical' to the panel and if i also remove all the layout:'fit' , flex: 1 stuff then it all works.