PDA

View Full Version : Customize MessageBox



batyamit
30 Jan 2012, 1:45 AM
How can i customize the text on the buttons, in MessageBox?

rohdef
30 Jan 2012, 2:04 AM
This should do it for the yes-button in the ConfirmMessageBox. Good luck :)


ConfirmMessageBox mb = new ConfirmMessageBox("Test", "Lorem ipsum");
mb.getButtonById(PredefinedButton.YES.name()).setText("foo");
mb.show();

jakesvdb
11 Sep 2012, 11:36 AM
Was wondering if this works for versions of GXT prior to version 3?