[squeak-dev] LayoutFrame>>#printOn:

Marcel Taeumel marcel.taeumel at hpi.de
Wed Sep 18 11:54:55 UTC 2019


Hi Christoph,

I recently changed that to be more valuable for me when debugging layout issues. Feel free to add more "ifNil" checks if needed - there are already some.

However, there is no need to make that string re-evaluable. It's designed to fit the human eye. At least mine. :-)


Best,
Marcel
Am 18.09.2019 13:50:09 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
Hi all,

is anyone attached to the current LayoutFrame>>#printOn: design?
The current one fails if some instvars are nil. This is the case for SystemWindowButtons.
Furthermore, I never liked the current string representation, it has a quite cryptic look and does not match the common way you create a LayoutFrame using #fractions:/#offsets:.

Would anyone mind me to rewrite #printOn: in order to return a re-evaluatable string? Are there any dependencies?

Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190918/7ecbcd37/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 34740 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190918/7ecbcd37/attachment-0001.png>


More information about the Squeak-dev mailing list