1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    4
    Vote Rating
    0
    moloco is on a distinguished road

      0  

    Default Unanswered: How to hide Window frames ?

    Unanswered: How to hide Window frames ?


    Sorry for my bad EN.

    How can i hide rounded borders in Window component ?
    In GXT 2.x was setFrame() metod but dos't one in 3.x

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    1,934
    Vote Rating
    55
    Answers
    73
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default


    Framing is handled by the appearance now. Do you want just a floating component, with no header or border? If so, consider the Popup class (though this doesn't have a mask behind it).

    Otherwise, consider subclassing the appropriate ContentPanelAppearance implementation and implement WindowAppearance as well. Do you use the ghost feature? If not, that additional method can just return null. This new appearance implementation can be passed into a single Window, or you can use a rebind rule to make it apply to all Window objects created in your app.