[Cuis-dev] Re : LayoutMorph color
H. Fernandes
hfern at free.fr
Sun Aug 4 10:53:04 PDT 2024
Execute the statement, including the open in World, with Ctrl-D to discover what is going on.
Then take also a look at drawOn:
Dr. Geo -- http://gnu.org/s/dr-geo
----- Mark Volkmann via Cuis-dev <cuis-dev at lists.cuis.st> a écrit :
> 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.
More information about the Cuis-dev
mailing list