Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    129
    Vote Rating
    2
    audra is on a distinguished road

      0  

    Default No appearance constructor for Mask...

    No appearance constructor for Mask...


    Can you add one please?

  2. #2
    Sencha User
    Join Date
    Oct 2010
    Posts
    129
    Vote Rating
    2
    audra is on a distinguished road

      0  

    Default


    or add a mask() call that accepts an appearance...

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Masks should be consistent across an application, and so only one instance exists. To replace the appearance then, create your own custom MaskAppearance implementation, and create a replace-with declaration in your module file, after the GXT inherits statements:

    Code:
      <replace-with class="my.project.client.CustomMaskAppearance">
        <when-type-is class="com.sencha.gxt.core.client.dom.Mask.MaskAppearance" />
      </replace-with>

  4. #4
    Sencha User
    Join Date
    Oct 2010
    Posts
    129
    Vote Rating
    2
    audra is on a distinguished road

      0  

    Default


    I agree that all Masks should be similar but i have masks that require different content structures.

    Can you at least change the constructor from private to protected so I can extend the Mask class?

    Thanks,
    Audra

Thread Participants: 1