Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: jdbarton [...] gmail.com
Cc:
AdminCc:

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 [...] rt.cpan.org
From: Jonathan Barton <jdbarton [...] gmail.com>
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: https://screencloud.net/v/o3Ub Screenshot of the same toolbar with the space (note right alignment): https://screencloud.net/v/1yxM 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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.