View Full Version : how to horizontal scroll ?

4 Jan 2011, 7:43 AM

I'm creating a panel with radio button and the width of my panel is defined, but it's possible to resize this panel and I don't want that. I want to fixe my panel width.


And I want an horizontal scroll when is needed.
But, how to do that ?

PS : my code

this.navigPanel = new Ext.Panel({
id: getCompId(this.screenNum, 'navigPanel1'),
title: getLabel('navigation'),
headerCfg : {
style:'height:12px; text-align: center'
split: true,
autoScroll: true,
anchor:'100% 80%',
width: 130,
defaults: {padding: 5}

4 Jan 2011, 10:24 AM
your anchor 100% means that it will only get sized to 100% width of the parent container.