Centering a button in a form

Is it possible to center a ButtonItem in a form without CSS?

Yes, put the button and form in a VStack, set defaultLayoutAlign:“center” on the VStack.

Button or ButtonItem ?

Hi,

I have same problem. If I use com.smartgwt.client.widgets.Button it works but with com.smartgwt.client.widgets.form.fields.ButtonItem does not work. When we have to decide to use ButtonItem instead of Button ?

Thank You

Use ButtonItem for buttons inside forms unless the button in question does not fall into the columnar layout of the rest of the form.