Results 1 to 4 of 4

Thread: Bottom tool bar in the window

  1. #1
    Sencha User OZKA's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    17
    Vote Rating
    0
      0  

    Default Unanswered: Bottom tool bar in the window

    I have a window and i'm try to add bottom tool bar in this window, for the status bar purposes, but i'm spent more then three hours, but i'm have not any results. What is the best way to resolve this task?
    Regards, Kirill Ozerectkovsky!

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      0  

    Default

    In GXT 3, Window can take a single child, but that child can have whatever you want in it - you could use a VerticalLayoutContainer and first add your main content, then add a toolbar. The same basic idea could work with a FlowLayoutContianer or a CssFloatLayoutContainer.

    What have you tried? What hasn't worked? Are things not showing up, or just not in the right place?

  3. #3
    Sencha User
    Join Date
    Jan 2010
    Posts
    132
    Answers
    2
    Vote Rating
    1
      0  

    Default

    Have you considered using a ContentPanel as your window's child? It gives you a footer row of buttons. Would that do it?

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      0  

    Default

    Window inherits from ContentPanel, so both have a footer section for buttons, and both have addButton method. Your suggestion will certainly work, but I suspect it is overkill, especially since the contentpanel's header and border will need to be removed to not have double of each.

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
  •