View Full Version : How do you position Messagebox buttons?

24 Feb 2010, 9:42 AM
Does anyone know how to position the "OK, CANCEL" buttons for a Ext.MessageBox?

They are currently default to center, and I can't figure out how to get them left, or right aligned.

24 Feb 2010, 10:10 AM
I don't think there is any way to do this with Ext.MessageBox. Ext.Window has a buttonAlign config option so if it's very important you could just make your own messagebox.

24 Feb 2010, 12:45 PM
MessageBox will be getting a refactor shortly and getting some new configurations. One of which will be buttonAlign.

Until then you can override the MessageBox class and/or use a Ext.Window.