选中控件中最外层的那个控件,如centralWidget(不要去选中内部的小控件,这样能够保证内部的相对位置)
然后对centralWidget选择布局方式为“栅格布局”(Grid Layout)即可
参考:http://blog.sina.com.cn/s/blog_c2f250bd0101glbm.html
posted on 2018-03-13 09:24 Oliver-cs 阅读(1034) 评论(0) 收藏 举报