将GWT布局堆叠在彼此的顶部
我正在尝试构建GWT GUI,但我不确定这是否可行。基本上,我需要能够堆叠三个布局/面板,一个在另一个上面,如下所示:将GWT布局堆叠在彼此的顶部,gwt,layout,web,toolkit,Gwt,Layout,Web,Toolkit,我正在尝试构建GWT GUI,但我不确定这是否可行。基本上,我需要能够堆叠三个布局/面板,一个在另一个上面,如下所示: Bottom Layout: Panel that fills the whole screen (will actually contain SVG stuff). Middle Layout: DockLayoutPanel with tools docked around the edges, also full screen. Top Layout: Transpare
Bottom Layout: Panel that fills the whole screen (will actually contain SVG stuff).
Middle Layout: DockLayoutPanel with tools docked around the edges, also full screen.
Top Layout: Transparent panel, again filling the whole screen.
可以这样堆叠面板吗?我想我可以用AbsolutePanel来做,但我希望有更好的解决方案。
谢谢
Jon因为你想在里面有一个
DockLayoutPanel
,试试LayoutPanel
(或者RootLayoutPanel
),然后按顺序添加你的小部件,默认情况下,它是LayoutPanel
的子部件。谢谢Thomas,这就成功了。我没想到LayoutPanel这么强大!