Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<g:DockLayoutPanel unit='PX' ui:field="dock1"> <g:north size='40'> <g:DockLayoutPanel unit='PX' ui:field="dock2">......</g:DockLayoutPanel> </g:north> </g:DockLayoutPanel>
如何将dock2in对齐g:north到dock1CENTER 和 MIDDLE?
dock2
g:north
dock1
我知道答案 sinc DockLayout 填满了整个区域,所以我们不能到中间,因此我不需要尝试将整体对齐dock2,g:north我只需要 o 对齐里面的元素dock2,这次它可以正常工作。