单元格的大小可以是相等的,或者是网格宽度或高度的某个给定可变百分比。
Cells can be made equal size or be given varying percentage of the grid's width or height.
所含组件的全部大小是指每个组件在网格内的宽度和高度的单元数量。
All dimensions of contained components refer to how many cells wide and tall each component is within the grid.
举例来说,如果您希望将之前清单中的两个网格继续划分为两个单元,其中一个单元是另一个单元的两倍宽度,可以编写如清单10所示的代码。
For instance, if you want to subdivide each of the two grids in the previous listing into two units where one unit is twice as wide as the other, you write the code shown in listing 10.
应用推荐