Results 1 to 5 of 5

Thread: MenuBar overflow

  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    191
    Vote Rating
    3
      0  

    Default 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 Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Answers
    60
    Vote Rating
    131
      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
      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
      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 Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Answers
    60
    Vote Rating
    131
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •