如何将 smartgwt 中的组件放置在嵌套布局内
我有大约 20 个组件放置在表单和布局(水平和垂直)中。 它的结构就像 html 表格一样,有 colspan 和 rowspan 之类的东西。
外部网格正在授权,但主布局内的布局和组件没有反应
正确设置Height、setWidth、setColWidths。有些嵌套组件不反应,有些则...
如何正确地将组件放置在 smartgwt 中?
I've got about 20 components that are placed in forms and layouts (horizontal and vertical).
Its structure like the html table with something like colspan and rowspan.
Outer grid is authorizing but layouts and components inside main layout don't react to
setHeight, setWidth, setColWidths properly. Some nested components don't react, some does...
How to place components in smartgwt properly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定我是否完全理解这个问题,但是当我第一次开始使用 smartgwt 时我也遇到了布局问题。事实证明,我需要将内部组件的宽度和/或高度设置为“*”,这导致我的内部组件“捕捉”到其容器提供的任何坐标。
I'm not sure I fully understand the problem but I had layout issues when I first started using smartgwt as well. It turned out that I needed to set my inner components widths and/or heights to "*" this caused my inner components to "snap" to any coordinates supplied by its container.