Results 1 to 4 of 4

Thread: ExT JS 4.1 LoadMask

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    25
    Answers
    6
    Vote Rating
    1
      0  

    Default ExT JS 4.1 LoadMask

    Hey all

    I'm new to sencha and i have a question. I successfully create a loadmask but would like to make it larger that it's by default. So i've done this:

    Code:
    new Ext.LoadMask(Ext.getBody(), {msg: message, height: '300px'});
    but the loadmask stays the same. I'm doing something wrong or this just is impossible to achieve?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    504
      0  

    Default

    Height is numeric: height: 300

    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    25
    Answers
    6
    Vote Rating
    1
      0  

    Default

    I've tried that already but doesn't work...

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    504
      0  

    Default

    This should give you a larger panel .. you will have to update the display template

    Code:
    var panel = Ext.create('Ext.panel.Panel', {
        title: 'Hello',
        width: 200,
        height: 200,
        html: '<p>World!</p>',
        renderTo: Ext.getBody()
    });
    
    var myMask = new Ext.LoadMask(panel, {msg:'Please wait...', height: 50});
    myMask.show();
    ?
    f234476.png

    Scott

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •