[BUG] #widthOfString: in addHorzScrollbar
Avi Bryant
avi at beta4.com
Fri Mar 12 19:40:53 UTC 2004
If a PluggableListMorph is given a styled item with the
addHorzScrollbar changeset loaded, the Text object will eventually get
given to AbstractFont>>widthOfString:, which doesn't know how to deal
with it. I'm not sure who is at fault here (should #widthOfString: be
able to deal with Text? Should it make sure to convert its argument to
a string first? Should the PLM be converting its items to strings
before asking about their widths? Should my code not be giving a Text
item to a PLM?).
Full debug log is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SqueakDebug.log
Type: application/text
Size: 7182 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040312/177851ce/SqueakDebug.bin
More information about the Squeak-dev
mailing list
|