What steps will reproduce the problem?
1. Start by adding any string to the widget when 'autosize' or 'autowidth' has
been specified.
2. Replace the entire string with '\n' or ''
3. Check the reported width.
What is the expected output? What do you see instead?
The width of the string should be reported as 1.0 but it is reported as the
maximum width of any line in the previous string. This happens because
'recalc_size' does not recalculate the width if the first or only line in the
string is empty
What version of the product are you using? On what operating system?
v0.5.1-dev running on Ubuntu 10.04
Please provide any additional information below.
Pushed to jfgossage/pymt on branch WidthError. Pick up HEAD to get the patch.
Original issue reported on code.google.com by jgoss...@gmail.com on 17 Aug 2010 at 6:47
Original issue reported on code.google.com by
jgoss...@gmail.com
on 17 Aug 2010 at 6:47