1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    77
    Vote Rating
    2
    yAdEs is on a distinguished road

      0  

    Question Where is "menu" attribute for a button?

    Where is "menu" attribute for a button?


    I want to bind menu to a button, but I can't find menu attribute for it, is that a bug or you change the way to use it?
    Last edited by yAdEs; 17 Feb 2012 at 11:49 PM. Reason: question again!

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,399
    Vote Rating
    128
    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


    Add a menu component from the toolbox to the button. It will automatically setup the menu attribute/reference to the button.

    You can also click on the flyout/cog at the top right of the button and click Add inside the Menu Builder.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    77
    Vote Rating
    2
    yAdEs is on a distinguished road

      0  

    Red face woo~~

    woo~~


    woo~~,awesome! Thanks very much!

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    77
    Vote Rating
    2
    yAdEs is on a distinguished road

      0  

    Default


    By the way, may I asign a custom menu to the button,like a "StartButton" for the desktop example.
    I want to put a toolbar into the menu, so I need to set the attribute value of "menu" to #startButton. Can I do that in designer?

Thread Participants: 1

Tags for this Thread