Discussion:
wxRibbonBar: small icons with text?
Tobias Abt
2014-04-14 09:02:54 UTC
Permalink
Hi,


a question about the wxRibbonBar:

Is there a way the wxRibbonButtonBar can always show a small icon with text even if enough space is available? (Per default the small icons are only shown if there is not enough space for the large icons.)


I have tried to set the "MaxSize" for the wxRibbonButtonBar, but this has no effect.


I'd like to make the less important buttons smaller, like Microsoft does it with their ribbonbar...


Regards and thanks in advance,

Tobi


OS: Windows 7

wxWidgets: 3.0
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Iwbnwif Yiw
2014-04-15 07:10:59 UTC
Permalink
Post by Tobias Abt
Is there a way the wxRibbonButtonBar can always show a small icon with
text even if enough space is available? (Per default the small icons are
only shown if there is not enough space for the large icons.)
Hi,

I think that the effect that you are trying to achieve is the same as (for
example) the Word 'Clipboard' group where there is a large Paste button and
three smaller buttons ("Cut", "Copy", "Format Painter") to its right.

As you have found if you resize the window then it is possible to create
this effect, but AFAICS there seems to be no way of 'locking' the
wxRibbonButtonBar in this configuration. The only way that I know to create
a similar effect at the moment is to use a sizer with the panel.

I agree though that this would be a nice feature to have.

IY
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...