eriklarsson
3 Dec 2010, 9:39 AM
The code:
card: {
xtype: 'panel',
items: [
{xtype: 'spacer', height:20},
{xtype:'button',
text:'Hello, button',
handler:function() { alert('button handler') }
},
{html: "<div><img src='img/mdt_logo.png' /> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book</p></div>"},
],
scroll: 'vertical'
}
Essentially what happens is that the scroll doesn't reach the end of the card.
What is happening here?
Attaching an image
card: {
xtype: 'panel',
items: [
{xtype: 'spacer', height:20},
{xtype:'button',
text:'Hello, button',
handler:function() { alert('button handler') }
},
{html: "<div><img src='img/mdt_logo.png' /> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book</p></div>"},
],
scroll: 'vertical'
}
Essentially what happens is that the scroll doesn't reach the end of the card.
What is happening here?
Attaching an image