1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    191
    Vote Rating
    3
    support_csd_kz is on a distinguished road

      0  

    Default Unanswered: MenuBar overflow

    Unanswered: MenuBar overflow


    Hello forum,

    How can I implement MenuBar overflow in GXT 3.0
    I used to extend ToolBarLayout in GXT 2.0 but it is impossible in a new version.
    Any ideas?

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    It can be done almost the same way as in GXT 2. ToolbarLayout is no more. This functionality is now in HboxLayoutContainer. You will need to port this code from HBoxLayoutContainer into your MenuBar

  3. #3
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    191
    Vote Rating
    3
    support_csd_kz is on a distinguished road

      0  

    Default


    Thanks for the tip.

    But if I got it correct most code are in doLayout method in HBoxLayoutContainer, in what method can i put doLayout in MenuBar?

  4. #4
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    191
    Vote Rating
    3
    support_csd_kz is on a distinguished road

      0  

    Default


    Thanks for the tip.

    But if I got it correct most code are in doLayout method in HBoxLayoutContainer, in what method can i put doLayout in MenuBar?

  5. #5
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You need to add the logic in MenuBar. Its comming from a ResizeContainer, which MenuBar is not.

Thread Participants: 1