phetsims / sun

User-interface components for PhET simulations, built on top of Scenery.
http://scenerystack.org/
MIT License
5 stars 12 forks source link

Button LayoutOptions unexpectedly affects the buttonContent rather than the layout cell #871

Open marlitas opened 10 months ago

marlitas commented 10 months ago

When passing LayoutOptions to a button inside a VBox I noticed that the minContentWidth/Height did not affect the layout cell of the button, but rather the content expanded to the minContentWidht/Height numbers. This was not how I understand LayoutOptions to work.