Results 1 to 6 of 6

Thread: Custom dialog mask style

  1. #1
    Sencha Premium User
    Join Date
    Jul 2014
    Posts
    37
    Vote Rating
    1
      0  

    Default Custom dialog mask style

    hi all,

    I have a login dialog using Dialog Component.
    How can I change the mask opacity of that Dialog?

  2. #2
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    560
    Answers
    3
    Vote Rating
    -266
      -2  

    Default

    Hello there- I have passed your question on to a team member and we are working to get you an answer. Thank you for your patience!

  3. #3
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    124
    Answers
    1
    Vote Rating
    -97
      -2  

    Default

    Hi there,

    There is no config in ExtJS for this. You will have to override css for this.

    Regards,
    Pavan.
    Sencha Support.

  4. #4
    Sencha Premium User
    Join Date
    Jul 2014
    Posts
    37
    Vote Rating
    1
      0  

    Default

    Quote Originally Posted by pakumar View Post
    Hi there,

    There is no config in ExtJS for this. You will have to override css for this.


    Regards,
    Pavan.
    Sencha Support.
    Thanks for your reply.
    Override the CSS will override all mask style.
    In my case, I just want to change only one dialog mask style. Another dialog remind unchanged.

    Any can I do this?

    Thanks!

  5. #5
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    124
    Answers
    1
    Vote Rating
    -97
      -1  

    Default

    Hello, hope you are doing well.

    Use 'cls' config of Dialog to add additional class to particular Dialog mask.


    https://docs.sencha.com/extjs/6.5.3/...g.html#cfg-cls

    Regards,
    Pavan,
    Sencha Support.

  6. #6
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,148
    Answers
    743
    Vote Rating
    985
      0  

    Default

    Except that clearly doesn't work, because you can see that the class is applied to the dialog element, not to any of the masking elements above it:

    https://fiddle.sencha.com/#view/editor&fiddle/2m21
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. Style for mask message?
    By gelgey in forum Ext GWT: Help & Discussion (1.x)
    Replies: 5
    Last Post: 14 Dec 2010, 7:32 PM
  2. Fade in the Dialog Mask?
    By artythesmarty in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 23 Aug 2007, 2:05 PM
  3. Dialog mask not working correctly
    By HartlepoolLad in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 12 Jul 2007, 4:45 AM

Posting Permissions

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