Results 1 to 4 of 4

Thread: get rid of Window's title bar or have it hold combo box

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    14
    Vote Rating
    0
      0  

    Question get rid of Window's title bar or have it hold combo box

    Is there a way to get rid of the title bar in a Ext.window.Window? (the bar on top of the window that has the close box)

    If not, is there a way to add a combo box to it?

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    14
    Vote Rating
    0
      0  

    Default

    Adding
    preventHeader : true,
    works.

    Hope this helps someone else

  3. #3
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    And if you are wanting to add anything to the title bar you can. The Window should have a header property (like all Panels) and the header is just a Container using HBoxLayout (or VBoxLayout) so you can add/insert any component very easily! Do remember that the header isn't created at initComponent, you will need to after render.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    14
    Vote Rating
    0
      0  

    Default

    cool! thanks

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
  •