[Cuis-dev] Infinit loop with Layout
Hilaire Fernandes
hilaire at drgeo.eu
Tue Apr 12 12:12:40 PDT 2022
Hi,
The following code put Cuis in an infinite loop. Changing the values 1
to 0.99 and 0 to 0.01 prevent the infinit loop
Thanks
Hilaire
| a b |
LayoutMorph newColumn ::
addMorph: (a _ BoxedMorph new) proportionalHeight: 0.5;
addMorph: (b _ BoxedMorph new) proportionalHeight: 0.5;
openInWorld;
yourself.
a layoutSpec: (LayoutSpec proportionalHeight: 1).
b layoutSpec: (LayoutSpec proportionalHeight: 0)
--
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220412/61e2b51b/attachment.htm>
More information about the Cuis-dev
mailing list