Results 1 to 3 of 3

Thread: How to add a menu separator?

  1. #1
    Ext Premium Member
    Join Date
    May 2010
    Posts
    18
    Vote Rating
    0
      0  

    Question How to add a menu separator?

    How can I add a horizontal separator to an ExtJS menu using Architect?

    Although there is a "separator" in the toolbox I cannot drop it onto an existing menu.

    Hand coded the job is easily done:

    Code:
                                
    menu: {
      xtype: 'menu',
      items: [
      {
        xtype: 'menuitem',
        text: 'menuitem1'
      },
      '-', // how can I add THIS separator using architect?
      {
      xtype: 'menuitem',
      text: 'menuitem2'
      }
    }

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    Menu separator is an omission on our part and will be in an update to come in the near future.

    You could inject this separator using an override in the mean time.
    Aaron Conran
    @aconran

  3. #3
    Ext Premium Member
    Join Date
    May 2010
    Posts
    18
    Vote Rating
    0
      0  

    Smile

    Available since the 412 build, thanks a lot.

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
  •