简体   繁体   English

如何并排调整Ext Panels?

[英]How to adjust Ext Panels side by side?

I know that there is a hbox layout. 我知道有一个hbox布局。 It accomodates all the panels in a horizontal line. 它以一条水平线容纳所有面板。

But I want the fact that if the panels exceed the container's width, they should be in the next row (like in normal HTML) 但是我想要一个事实,如果面板超出了容器的宽度,则它们应该位于下一行(就像普通HTML中一样)

The only way I was able to get this done is with the column layout, but you would have to nest the panels in containers. 我能够完成此操作的唯一方法是使用列布局,但是您必须将面板嵌套在容器中。

Here is a fiddle: https://fiddle.sencha.com/#view/editor&fiddle/1oim 这是一个小提琴: https : //fiddle.sencha.com/#view/editor&fiddle/1oim

(toggle the placeholder.it width) (切换placeholder.it的宽度)

I think it should be exactly like you're describing with the default layout. 我认为它应该与您使用默认布局描述的完全一样。 Do you have any sample code? 您有任何示例代码吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM