貌似 wxWidgets 官方的 Simple 没有专门说 wxSizer 的,帮助文档可能是偶理解能力不够,没怎么看懂,然后谷歌之,找到这篇文章,总算对这个 wxSizer 有了点概念。。。
原文是英文的,由于太长了,个人时间不是很充裕,翻译的话等下次,先转载过来,原文链接: http://neume.sourceforge.net/sizerdemo/
PS:由于CSDN破烂排版问题,同时由于GFW,你懂的,偶特地翻出去将文档保存上传,需要的可以下载一份来看
文章内容
下载链接:http://download.csdn.net/detail/ccnyou/5059412
What Do These Sizer Things Do?
One of the most intimidating parts of wxWindows is figuring out how sizers work. They are quite powerful, but sometimes unintuitive. This is intended as a guide to aid in understanding what all those parameters do.
This tutorial focuses on box sizers because they are the most flexible and most commonly used. However, the information here also applies to other sizer types. Unscoped methods like SetSizer() belong to wxWindow, but really make most sense in a wxFrame, wxDialog, wxPanel, or similar classes.
附上截图
本文旨在帮助读者理解wxSizer在wxWidgets框架中的工作原理,重点介绍如何使用它们来实现灵活且常见的布局管理。文章包含实际示例和截图,帮助读者更好地掌握这一关键概念。
213

被折叠的 条评论
为什么被折叠?



