Results 1 to 4 of 4

Thread: textfield with vertical scrollbar?

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2009
    Posts
    8

    Default textfield with vertical scrollbar?

    Hi

    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:
    Code:
    	var frm = new Ext.FormPanel({
    		url: 'url.php',
    		width: 600,
    		border: false,
    		labelWidth:110,
    		bodyStyle:'padding:10 10 10 10',
    		items:[{
    			xtype:'fieldset',
    			title: 'Fieldset 1',
    			autoHeight: true,
    			width:580,
    			defaults: {width: 420},
    			items:[{
    				xtype: 'textfield',
    				fieldLabel: 'Field 1',
    				name: 'field1',
    				allowBlank: false
    			},{
    				xtype: 'textfield',
    				fieldLabel: 'Field 2',
    				name: 'field2'
    		    }]
    		}]
    	});

    Any help would be greatly appreciated.
    Attached Images Attached Images

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    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...

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2009
    Posts
    8

    Default

    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
    Attached Images Attached Images

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •