PDA

View Full Version : Ext.Msg not resizable in extjs4.2



alfa19
1 Oct 2013, 5:15 AM
Hi all,

this is my code for showing a MessageBox


Ext.Msg.show({ icon: Ext.Msg.ERROR,
title: 'Error',
msg: msg,
closable: false,
buttons: Ext.Msg.OK,
width: 350,
maximizable: true,
resizable: true
});

But is not maximazable nor resizable.

What i'm wrong?
Thanks in advance

ettavolt
1 Oct 2013, 10:28 PM
These configs are taken in account only during instantiation. You may want to create custom instance of Ext.window.MessageBox for yourself.

alfa19
1 Oct 2013, 10:55 PM
The code posted creates a new instance

ettavolt
2 Oct 2013, 1:49 AM
Really? Please check container element's id of two subsequent messages you show.