wxButton with bitmap looks ugly even for 3.0.0. The problem was described 4 years ago:
http://trac.wxwidgets.org/ticket/11477
and since were no changes.
So I look for component with wxButton functionality but with proper image placement.
Looking for button with image
- xaviou
- Super wx Problem Solver
- Posts: 437
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: Looking for button with image
Hi
Did you simply try to pass a bitmap to a wxButton ? (with wxWidgets-3.0, wxButton has support for wxBitmap).
Regards
Xav'
Did you simply try to pass a bitmap to a wxButton ? (with wxWidgets-3.0, wxButton has support for wxBitmap).
Regards
Xav'
My wxWidgets stuff web page : X@v's wxStuff
Re: Looking for button with image
xaviou, look at the ticket screenshot:
http://trac.wxwidgets.org/attachment/ti ... gnment.png
I mean image for wxButton works but it looks ugly aligned: So I'm trying to find component like wxButton but with proper image alignment.
http://trac.wxwidgets.org/attachment/ti ... gnment.png
I mean image for wxButton works but it looks ugly aligned: So I'm trying to find component like wxButton but with proper image alignment.
Re: Looking for button with image
No idea about existing component? May be better to inherit wxButton and try to paint image manually?
- xaviou
- Super wx Problem Solver
- Posts: 437
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: Looking for button with image
Hi.
You can try with a wxBitmapButton, with only a wxBitmap as label (and you can re-create the full bitmap with the associated text).
Regards
Xav'
You can try with a wxBitmapButton, with only a wxBitmap as label (and you can re-create the full bitmap with the associated text).
Regards
Xav'
My wxWidgets stuff web page : X@v's wxStuff
Re: Looking for button with image
Hm. It looks much better without ui theme:
I think this is simply bug of wxWidgets.
I think this is simply bug of wxWidgets.
Re: Looking for button with image
It seems I have to select Qt. It's very dangerous to use GUI library having troubles in basic components.