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.
我在 ScrollPanel 内的 GWT 中有一个带有 Float Left 的 FlowPanel。我想强制执行,而不是将新内容包装到下一行,而是将其水平添加到 FlowPanel 中并出现滚动条。
相反,你可以做
Verticalpanel v= new verticalpanel; v.add(flowpanel);//styles on flow panel v.add(morecontent); scrollpanel.setWidget(v);