wxMac: No label text in non-native toolbar

Hi,

We're using 2.8.8.0 in an app that has two non-native toolbars. One of the toolbars consists of several label tools. Our code uses wx.TB_TEXT and SetToolBitmapSize specifies 24x24.

On Gnome, Windows and Solaris, the same code results in labels appearing under the toolbar icons.

Any ideas as to how we can get the labels to appear on Mac OS?

Thanks in advance,
Chris

Christopher Kampmeier wrote:

Hi,

We're using 2.8.8.0 in an app that has two non-native toolbars. One of the toolbars consists of several label tools. Our code uses wx.TB_TEXT and SetToolBitmapSize specifies 24x24.

On Gnome, Windows and Solaris, the same code results in labels appearing under the toolbar icons.

Any ideas as to how we can get the labels to appear on Mac OS?

Use the native toolbar. wxMac's generic toolbar totally ignores the labels.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Christopher Kampmeier wrote:

Hi,

We're using 2.8.8.0 in an app that has two non-native toolbars. One of the toolbars consists of several label tools. Our code uses wx.TB_TEXT and SetToolBitmapSize specifies 24x24.

On Gnome, Windows and Solaris, the same code results in labels appearing under the toolbar icons.

Any ideas as to how we can get the labels to appear on Mac OS?

Use the native toolbar. wxMac's generic toolbar totally ignores the labels.

We would use the native toolbar if we could. We have a situation in which we wanted to place a search control in the far right portion of the top toolbar attached to the overall window frame. But since we haven't figured out how to right align controls in a single toolbar, we've moved to an approach where two toolbars are used side-by-side. When we use two side-by-side toolbars, we don't get the native Mac toolbar.

If we could solve the right aligned control in a single toolbar, then we would go back to using a single, native native toolbar.

Chris

···

----- Original Message ----
From: Robin Dunn <robin@alldunn.com>
To: wxpython-users@lists.wxwidgets.org
Sent: Tuesday, May 5, 2009 6:15:26 PM
Subject: Re: [wxpython-users] wxMac: No label text in non-native toolbar