View Full Version : textfield with vertical scrollbar?

19 Sep 2009, 8:25 AM

I have got a FormPanel with some textfields, the form looks perfectly fine on Safari but on Firefox, the vertical bar appears on the right of the textfields. (screenshot attached)

Here are the form codes:

var frm = new Ext.FormPanel({
url: 'url.php',
width: 600,
border: false,
bodyStyle:'padding:10 10 10 10',
title: 'Fieldset 1',
autoHeight: true,
defaults: {width: 420},
xtype: 'textfield',
fieldLabel: 'Field 1',
name: 'field1',
allowBlank: false
xtype: 'textfield',
fieldLabel: 'Field 2',
name: 'field2'

Any help would be greatly appreciated.

19 Sep 2009, 8:45 AM
The screenshot doesn't match the code, so cold be anything

The scrollbar is not on a textfield though is it? It's on the FieldSet isn't it? We can't REALLY tell with this lack of into of course...

19 Sep 2009, 9:04 AM
Hi Animal

Thanks for the reply. I have attached another screenshot of the codes with and without fieldset. I also thought it was the fieldset too.

It is worth to mention this only happens on Mac Firefox. I have just tested it on Windows with Firefox and the form looks perfectly fine...

Thanks again

19 Sep 2009, 9:17 AM
It looks like a CSS problem. The scrollbar is not on the textfield, it's on one of the wrapping Elements around it. Pok it with Firebug and see what is erroneously style to scroll its overflow.