I see there is an open PR from a long time ago from @jamshark70 about this
is there a reason this isn’t getting more attention? I feel like any usable solution even if not totally airtight is better than the current situation… tbh, as a relatively casual user either of the two screenshots of “funny behavior” look totally acceptable to me, if my goal is to quickly get a GUI working for this cool thing I made… if I really care about smooth appearance I will have to dig into the bowels of SCGUI anyway – and this can be fun! but I think EZ whatever can’t be called EZ unless it just works.
I had written a whole thing about this, before I thought about checking the open PRs
Currently, EZ gui elements do not work with layouts, because e.g. EZKnob() without any arguments opens in a new window.
Fixing this is not totally trivial (I tried just removing the part of EZGui:prMakeView that makes the window but no luck, I suspect the widgets currently need to know their bounds before they are made)
So, before I attempt, I’m curious: would anyone miss e.g. EZKnob()
opening a new window?
I’m motivated to try because I think it’s very common, for example, to want to make a bunch of knobs, each of which has a different range and also a number box to edit the precise value and ideally a label, arranged in a grid. Each of these things individually is easy (a super-knob and a grid), but together requires a TON more work (basically reverse engineering EZKnob to make a custom knob and number box that work together with a collective action, or doing some math and resize magic if you want the grid to scale with the parent view).
The revised EZ widgets could still open in a new window if you call .front on them, like most other GUI classes