2011-08-20 48 views
0

從ExtJS的文檔:ExtJS中HBox和VBox佈局的flex值有什麼用處?

flex : Number 
This configuration option is to be applied to child items of the container managed by this  
layout. Each child item with a flex property will be flexed horizontally according to each 
item's relative flex value compared to the sum of all items with a flex 
value specified. Any child items that have either a flex = 0 or flex = undefined will not 
be 'flexed' (the initial size will not be changed). 

但文檔不給它如何影響佈局以及如何使用它一個清晰的應用程序。此外,我找不到有關如何在Google上使用它的任何優秀教程/示例。

欣賞是否有人能夠更多地瞭解這一點。

回答

0

它是長度VBOX(高度)& hbox中(寬度)

比例比