More StackLayout bugs?
olaf-xpEK/[email protected] Sat, 1 Feb 2020 17:12:04 +0800
| Newsgroups | gmane.comp.audio.supercollider.devel |
|---|---|
| Message-ID | <[email protected]> |
unfortunately there seem to be more problems with StackLayout (it seems
to me related to the previous post about StackLayout).
I want to see how a Color looks in front of a background. But the
combination of View and StackLayout fails:
(
a=View().minSize_(40@40);
b=View().background_(Color.green).minSize_(40@40);
View().layout_(StackLayout(a,b).mode(\stackAll)).front;
a.background=Color(*{1.0.rand}!4);
a.background.postln;
)
^^ The preceding error dump is for ERROR: Primitive '_QWidget_SetLayout'
failed.
the following compiles, but doesn't show the content of the Stackview
(as if the size is not recognized)
(
a=View().minSize_(40@40);
b=View().background_(Color.green).minSize_(40@40);
View().layout_(HLayout(StackLayout(a,b).mode(\stackAll))).front;
a.background=Color(*{1.0.rand}!4);
a.background.postln;
)
file a bug on github?
should the recently reported bug also be put on github? separate or
together?
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/