-
3 Dec 2012 12:13 PM #1
Unanswered: Bottom tool bar in the window
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!
-
5 Dec 2012 2:35 PM #2
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?
-
12 Dec 2012 8:28 AM #3
Have you considered using a ContentPanel as your window's child? It gives you a footer row of buttons. Would that do it?
-
12 Dec 2012 9:19 AM #4
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.


Reply With Quote