wx.Toolbar - Border

Hi,

when I create a wx.Toolbar, ther is always a small border at the top or bottom of it (depending on the OS). I couldn't remove it via wx.NO_BORDER, wx.BORDER_NONE. Is there a possibility to have it without this border?

Thank You!

Johannes Schönberger wrote:

Hi,

when I create a wx.Toolbar, ther is always a small border at the top or bottom of it (depending on the OS). I couldn't remove it via wx.NO_BORDER, wx.BORDER_NONE. Is there a possibility to have it without this border?

Probably not.

···

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

Johannes Schönberger wrote:

Hi,

when I create a wx.Toolbar, ther is always a small border at the top or bottom of it (depending on the OS). I couldn't remove it via wx.NO_BORDER, wx.BORDER_NONE. Is there a possibility to have it without this border?

Thank You!
__________________

Since Robin thinks not, your primary option is to roll your own toolbar. Creating a group of bitmap buttons in a horizontal box sizer is pretty easy and you can use wx.ArtProvider for the images if you like.

···

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org