Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 117259
Status: new
Priority: 0/
Queue: Wx

Owner: Nobody in particular
Requestors: jdbarton [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Wx::ToolBar Stretchable Spaces
Date: Sat, 27 Aug 2016 22:35:57 +0000
To: bug-Wx [...]
From: Jonathan Barton <jdbarton [...]>
Download (untitled) / with headers
text/plain 788b
Hello, Wx::ToolBar from Wx 0.9928 doesn't support either InsertStretchableSpace($pos) or AddStretchableSpace(). I'm trying to add a throbber to a toolbar, and need that stretchable space for the throbber to display on the right of the bar. I edited Wx/XS/ToolBar.xs to add those two methods. I'm attaching the new file to this email, as well as the diff: 174a175,181 Show quoted text
> wxToolBarToolBase* > wxToolBarBase::AddStretchableSpace() > > wxToolBarToolBase* > wxToolBarBase::InsertStretchableSpace(pos) > size_t pos >
Screenshot of a simple toolbar without the space: Screenshot of the same toolbar with the space (note right alignment): Please let me know if there's somewhere else I should send this report. Jon Barton
Download ToolBar-fixed.xs
text/x-csrc 13k

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to