开发者

Are there some properties like 'flex' for vertically according in extjs4?

In extjs4, 'flex' is used to flex items for horizontally according.

items:[
    {text: 'item1', flex: 1},
    {text: 'item2', flex: 1}
]

Are 开发者_Python百科there some properties for vertically according too?


The flex option is used in vertical box layouts (like vbox) similar to the way it is used in horizontal layouts (like hbox). With the difference that it is used for vertical flexing, even so the API documentation said otherwise. (It's just a flaw in the documentation).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜