http://stackoverflow.com/questions/3492739/auto-expanding-layout-with-qt-designer

After creating your QVBoxLayout in Qt Designer, right-click on the background of your widget/dialog/window (not the QVBoxLayout, but the parent widget) and

select Lay Out -> Lay Out in a Grid from the bottom of the context-menu. The QVBoxLayout should now stretch to fit the window and will resize automatically when the entire window is resized.

右击窗体->布局->栅格布局

最新文章

  1. 微信小程序-图片、录音、音频播放、音乐播放、视屏、文件
  2. 在selenium2.0中使用selenium1.0的API
  3. selenium 3 对我们的影响
  4. maven加载本地lib下的jar包
  5. android获取系统通讯录
  6. atitit.404错误的排查流程总结
  7. DataGuard主备归档存在gap的处理办法
  8. hdu 4593 Robot
  9. Powershell导入订阅号(以Azure中国版为例)
  10. WPF 界面布局DockPanel stackPanel WrapPanel 元素内容以及位置控制
  11. Ubuntu中apt-get出现E:Encountered a section with no Package: header……的解决方案
  12. JavaScript总结(二) 系统分析
  13. win32下用VC扩展PHP全过程
  14. Selenium+Python浏览器调用:Firefox
  15. python 生成html文件(表格)
  16. 爬虫框架Scrapy 之(四) --- scrapy运行原理(管道)
  17. java基础(四)-----抽象类与接口
  18. styled-components的基本使用
  19. CAtia_打开提示:许可证过期怎么办
  20. spring boot 通过controller跳转到指定 html 页面问题以及请求静态资源问题

热门文章

  1. BZOJ3560 : DZY Loves Math V
  2. BZOJ4327 : JSOI2012 玄武密码
  3. BZOJ3746 : [POI2015]Czarnoksiężnicy okrągłego stołu
  4. 导出一个EXCEL,多个SHEET
  5. Xcode4 使用技巧
  6. QTabWiget Change Color 改变颜色
  7. 在Windows上启用LDAPs
  8. 对于默认 Windows NT 安装的 SID 值
  9. MS14-025引起的问题 - 1
  10. AngularJS+ckEditor管理ng-model