开发者

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

开发者 https://www.devze.com 2023-04-05 10:09 出处:网络
In extjs4, \'flex\' is used to flex items for horizontally according. items:[ {text: \'item1\', flex: 1},

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

精彩评论

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