[Cuis-dev] Widget color again

Hilaire Fernandes hfern at free.fr
Thu Jul 16 05:37:47 PDT 2026


Hi,

Does it make sense that Layout Morph are painted with a variation of the 
button color. My panes look darker than before.

LayoutMorph>>adoptWidgetsColor: paneColor
     super adoptWidgetsColor: paneColor.
     adoptsWidgetsColor
         ifTrue: [ self color: (Theme current buttonColorFrom: 
paneColor) paler ]

Should it not be  something like: Theme current paneBackgroundFrom: aColor.

The darker pane is a LabelGroup. In the mean time I adjusted the 
LabelGroup>>adoptWidgetsColor method


widget color

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260716/561dc81a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran du 2026-07-16 13-06-38.png
Type: image/png
Size: 55337 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260716/561dc81a/attachment-0001.png>


More information about the Cuis-dev mailing list