简体   繁体   中英

Move form button to left on Ext.form.panel

I have basic Ext.form.panel component in my application. I used the buttons:[{list of buttons}] property to add reset and submit buttons for the form.

Everything looks well and works well except the buttons are always positioned towards the right side of the form.

I have grid which is on right of the form and when I resize the browser the grid covers the buttons so they are not visible. (form and grid are postioned using column layout)

I would like to move form buttons to the left of the form.

Is there some property to do this?

I tried align:"left" but it doesn't work.

buttonAlign:“ left”应该正常工作, http ://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.Panel-cfg-buttonAlign

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM