[squeak-dev] Painful Form errors

karl ramberg karlramberg at gmail.com
Thu Feb 18 15:09:08 UTC 2016


Hi,
While playing around and kicking the tires I came upon this code in class
side SimpleHierarchicalListMorph>>notExpandedForm.

If you nil out variable notExpandedForm and run the method you will
probably get wrong resulting form eg. the little triangle in
SimpleHierarchicalListMorph.
The triangles black outline becomes transparent if screen depth is 32 bit
when the form is created.

This is because this method relies on display depth set to 16 bit to give
right result :-(
Not very intuitive at all.

Does anybody have suggestions for a fix ?


Best,
Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160218/abb79073/attachment.htm


More information about the Squeak-dev mailing list