Results 1 to 4 of 4

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

  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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Vote Rating
    1391
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •