For the visibility question, I was trying to do a ...
# doodle
a
For the visibility question, I was trying to do a workaround for a
GridPanel
by setting a sizing policy to return something like
Copy code
mapOf(0 to if (view.visible) view.height else 0.0)
and I wasn't seeing any changes, but I think
GridPanel
sets the bounds of views, so
view.height
would have been zero anyways.
Yeah changing
view.height
to something else (like
view.minimumSize.height
) fixed it.