Results 1 to 2 of 2

Thread: How to hide Window frames ?

  1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    6
    Vote Rating
    0
      0  

    Default 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 User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      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.

Posting Permissions

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