<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Hilaire,</p>
<p>I'm pushing an update that adds a new selector to LayoutMorph.
Now you can send:</p>
<p> #doAdoptWidgetsColor "Sets a color similar to button color
(but paler)"</p>
<p> #doAdoptPaneBackgroundColor "Sets pane background color"</p>
<p>I think this will serve you, and also the common use in class
browsers and other tools, where the LayoutMorph is acting as a
button row.</p>
<p>Hope this helps.</p>
<div class="moz-cite-prefix">On 2026-07-16 9:37 AM, Hilaire
Fernandes via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:22b8acb9-c74c-4c99-803f-364ff6b74fb1@free.fr">
<p><font size="4">Hi, </font></p>
<p><font size="4">Does it make sense that Layout Morph are painted
with a variation of the button color. My panes look darker
than before.</font></p>
<p><font size="4">LayoutMorph>>adoptWidgetsColor: paneColor<br>
super adoptWidgetsColor: paneColor.<br>
adoptsWidgetsColor<br>
ifTrue: [ self color: (Theme current buttonColorFrom:
paneColor) paler ] </font></p>
<p><font size="4">Should it not be something like: Theme current
paneBackgroundFrom: aColor.</font></p>
<p><font size="4">The darker pane is a LabelGroup. In the mean
time I adjusted the LabelGroup>>adoptWidgetsColor method</font></p>
</blockquote>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis.st">www.cuis.st</a>
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich</pre>
</body>
</html>