[Cuis-dev] UI-Color-Panel.pck.st update
Hilaire Fernandes
hfern at free.fr
Sun May 18 08:25:39 PDT 2025
Hi Ken,
Indeed parent class of Color Edit, Panel, has a lower layer number, 30.
When invoking a Panel on top of an application window, it should not
fall behind this application window (kids will do that) otherwise user
will get lost. Or imagine the ColorPanel used to set color on object in
a window underneath.
May be your change with the property could be moved up to Panel in the
class hierarchy, with a default value of 30, and ColorPanel could adjust
its property to 100 in its initialize method. This will give more
freedome for user of these classes to adjust accordingly to their needs.
Le 17/05/2025 à 01:15, ken.dickey--- via Cuis-dev a écrit :
> Greetings!
>
> As I am going through docs/tutorials again, I found that the
> ColorEditor panel stayed at front, which does not accord with the
> Layout Tutorial. Also, moving this Morph to back via morph menu did
> not work.
>
> I updated this to be #layerNumber 100, which acts as a regular Morph
> with respect to Z-order.
>
> At the same time, I updated all package requirements to the
> latest/current.
>
> If you are using UI-Color-Panel.pck.st, you will need to update to
> latest.
>
> Sorry for any problems.
--
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250518/f36782ff/attachment.htm>
More information about the Cuis-dev
mailing list