Open marlitas opened 1 year ago
Should be resolved on the layout-2024 branch (scenery/sun so far).
I'm unassigning and putting on @jonathanolson's plate since it looks like he's actively working on this.
I believe this is fixed up and in main. @marlitas can you verify?
@jonathanolson I pulled and I'm still seeing it...
But I'm also not seeing a commit in sun for this... I'm really confused. Is this work still on a branch?
Looking into it, thought https://github.com/phetsims/sun/commit/177bc5f773ad6b478214617c58f9dde915307ebf was where I resolved it. I'll figure it out.
Ahh, this is blocked by phet-lib not being able to build (due to TypeScript-like changes).
I'll need to rebuild that for it to show up in the layout exemplars (which uses that).
Finally figured out the phet-lib build issues. I believe this should be fixed, can you confirm?
When an HBox with
wrap: true
is inside of a Panel, the panel is grabbing the minContentWidth of the HBox as though it were already wrapped. This is not passed through or limited by the HBox so the HBox content is overflowing beyond the panel.