PDA

View Full Version : How to center a FormPanel?



bgbraga
10 Sep 2008, 9:57 PM
I have a HTML page with FormPanel in one div.
How to center this FormPanel (horizontal)?

Thanks

evant
10 Sep 2008, 9:59 PM
If you just want the containing div centered, you could set the left and right margins to auto.

bgbraga
12 Sep 2008, 2:18 PM
How to?

my FormPanel:
[CODE]
var fp = new Ext.FormPanel({
labelAlign: 'top',
frame:true,
title: 'Ficha Filia

bgbraga
13 Sep 2008, 12:06 PM
Someone help me.
I need to centralize this FormPanel.

How to fix that?

Thanks