王吉元-NWPU

导航

 

1. GridLayout类的说明
GridLayout在包org.eclipse.swt.layout中,各参数意义如下:
1. numColumns指定布局器中的列数
2. horizontalSpacing 各列之间的距离
3. verticalSpacing各行之间的距离
4. makeColumnsEqualWidth 指定是否各列宽度相等
5. marginBottom指定容器底部要留出的空白像素
6. marginHeight指定容器底部和顶部要留出的空白像素(和marginBottom冲突时,取底部边距取两者中的大值)
7. marginTop
8. marginLeft
9. marginRight
10. marginWidth

posted on 2013-09-11 11:15  王吉元  阅读(1260)  评论(0编辑  收藏  举报