[Cuis-dev] LayoutMorph color

Mark Volkmann r.mark.volkmann at gmail.com
Sun Aug 4 09:21:45 PDT 2024


I defined a subclass of LayoutMorph and added this initialize method:

initialize
    super initialize.
    self color: Color yellow.

When I create an instance and open it in the world it has a pink background.
If I change the superclass from LayoutMorph to BoxedMorph then it has a
yellow background.
What is the reason why I can't set the color (of the background) of a
LayoutMorph?

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240804/b1e71742/attachment.htm>


More information about the Cuis-dev mailing list