关于wxToolBar的布局

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
happywilma
Earned a small fee
Earned a small fee
Posts: 12
Joined: Thu Nov 17, 2011 3:30 am

关于wxToolBar的布局

Post by happywilma »

[img]C:\Users\wilma\Desktop\1.jpg[/img]
我想设计一个toolbar左边是一些wxbitmap 右边实时显示时间, 时间要在wxtoolbar的最右边, 我想问下 在wxToolBar上怎样布局tool or contorl
实现效果类似如下:
Attachments
2.jpg
2.jpg (13.26 KiB) Viewed 4389 times
orighost
In need of some credit
In need of some credit
Posts: 6
Joined: Sat Feb 18, 2012 11:01 am

Re: 关于wxToolBar的布局

Post by orighost »

不用布局,直接添加即可 :D
Utensil
Moderator
Moderator
Posts: 423
Joined: Sun Feb 03, 2008 11:38 am
Location: China

Re: 关于wxToolBar的布局

Post by Utensil »

这个用wxToolBar估计达不到你的要求,可以看下 http://docs.wxwidgets.org/trunk/group__ ... ibbon.html
In fascination of creating worlds by words, and in pursuit of words behind the world.

On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
Post Reply