[Cuis-dev] LayoutMorph>>adoptWidgetColor:

Hilaire Fernandes hfern at free.fr
Sun Jun 28 02:02:45 PDT 2026


I solved the issue, and it is not related to your changes (I had doubt 
about that as I wrote in my previous message). It was related to the 
point your raised: misuse, which is related to what I expressed: a lack 
of documentation explaining the why, intended and how. The framework 
could also be a bit different to avoid user to mess-up in Widget as 
shown in your example.

We may want to organize a documentation and design conference about it.

Hilaire

Le 28/06/2026 à 09:55, Luciano Notarfrancesco a écrit :
> Can you be more specific? The color ends up wrong in what way? Does it 
> behave correctly if you change LayoutMorph>>defaultColor to the 
> previous version with “Theme current defaultWindowColor”?
>
> My goal is to make sure once you set a color it doesn’t get changed 
> automatically, unless you explicitly send to it doAdoptWidgetsColor 
> (and in thet case you dont need to set a color because it is set by 
> the window).
>
> However, I see part of the problem is that we don’t seem to be using 
> the protocol consistently, or maybe I’m misunderstanding something, 
> for example CodePackageListWindow>>buildButtonPane does this:
>
>     […]
>     buttonRow
>         doAdoptWidgetsColor;
>         color: self widgetsColor quiteWhiter;
>     […]
>
> The second message that sets the color doesn’t make sense, because the 
> color will be overwritten anyway.

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260628/5e3439d7/attachment.htm>


More information about the Cuis-dev mailing list