Hello,

I'm using wxwidgets under linux. When I use the wx.Toolbar I wraps around the largest icons on the toolbar. When I try to set the size of the icons (through SetToolBitmapSize) nothing changes. Any ideas why this doesnt work in my code?

self.Toolbar=wx.ToolBar(panel,-1,style=wx.NO_BORDER)
self.Toolbar.SetToolBitmapSize((21,21))
self.Toolbar.AddTool(-1,wx.Bitmap('/home/bart/python/icons/open.png'))
self.Toolbar.SetToolBitmapSize((28,28))
self.Toolbar.Realize()

Thx in advance!!

Maybe also someone knows how to remove the border around the toolbar 'knobs'?

Thx!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.