1. #1
    Ext Premium Member
    Join Date
    May 2010
    Posts
    18
    Vote Rating
    0
    MarkusL is on a distinguished road

      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,485
    Vote Rating
    136
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      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
    MarkusL is on a distinguished road

      0  

    Smile

    Available since the 412 build, thanks a lot.

Thread Participants: 1

Tags for this Thread