PDA

View Full Version : [CLOSED][3.x svn] css problem with form buttons



rraponi
23 Jun 2009, 8:03 AM
Minor css problem.

Buttons in forms are no longer centered in the latest svn...

See: examples/form/dynamic.html

evant
23 Jun 2009, 8:12 AM
This is a breaking change in 3.x, in 2.x the default buttonAlign in a FormPanel was 'center'. It's been decided that the Panel class should be the default, instead of FormPanel providing a different default. It will be listed as part of the release notes.

rraponi
23 Jun 2009, 8:43 AM
Do you have an example of centered buttons?

evant
23 Jun 2009, 8:44 AM
Just specify buttonAlign: 'center' on the form config.

mjlecomte
24 Jun 2009, 7:28 AM
This is a breaking change in 3.x, in 2.x the default buttonAlign in a FormPanel was 'center'. It's been decided that the Panel class should be the default, instead of FormPanel providing a different default. It will be listed as part of the release notes.

FYI: upgrade notes are being compiled here:
http://extjs.com/forum/showthread.php?t=70352

The change described above is listed under Ext.form (#12 or thereabouts).