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.
大家好,我正在尝试使用Gxt /Sencha并遇到了将小部件添加到 HorizontalPanel 等以动态更改小部件的问题,但没有让它工作,因为我认为它是 gwt in base 可能也适用于它。我也尝试了repaint()并在运行时添加小部件,但也没有运气。请为此问题提出一些解决方案/方法或链接。提前致谢。关于la_89ondevg
这个问题非常难以理解,但这里有:
添加小部件后,您是否尝试过在容器上调用 layout() 方法?确保容器确实具有适用的布局。还可以通过将 true 作为参数传递给 layout() 调用来尝试重载。