[CLOSED] Ext.Msg.alert box size

  1. #1

    [CLOSED] Ext.Msg.alert box size

    How can I change alert box size? I have iframe with width 300px, but messagebox is 554px by default.
    Last edited by Daniil; Jul 30, 2013 at 4:11 AM. Reason: [CLOSED]
  2. #2
    Hi @livehealthierGF,

    Maybe, this way.
    Ext.Msg.maxWidth = 300;
    Ext.Msg.alert("", "");
    http://docs.sencha.com/extjs/4.2.1/#...x-cfg-maxWidth
  3. #3
    Tried it, but doesn't work :(
  4. #4
    Hello!

    There are some changes in ExtJS 4.2. Try the following:

    Ext.MessageBox.alert({ maxWidth: 150, minWidth: 0, title: 'test', msg: 'test msg'});

Similar Threads

  1. Replies: 2
    Last Post: Jul 26, 2012, 2:12 AM
  2. X.Msg.Alert not triggering more than once
    By ssenthil21 in forum 1.x Help
    Replies: 0
    Last Post: Oct 03, 2011, 5:55 AM
  3. Replies: 0
    Last Post: Feb 22, 2010, 12:24 PM
  4. Replies: 0
    Last Post: Dec 10, 2009, 6:54 PM
  5. alert vs Ext.Msg.alert + window.location
    By Nime in forum 1.x Help
    Replies: 0
    Last Post: Nov 10, 2009, 3:34 AM

Posting Permissions