Closed pixelzoom closed 7 years ago
@jonathanolson suspects that this is related to recent changes that he made to AccordionBox for resizing. Assigning to him to investigate.
Here is the issue that describes the recent changes to AccordionBox: https://github.com/phetsims/sun/issues/304
(looking into it).
AccordionBox has always put the content directly on the expandedBox, and I was incorrectly checking the expandedBox's bounds after modifying its rectWidth/rectHeight. Since the initial content was outside of these bounds, those bounds were incorrect and it cascaded.
Fixed by using the selfBounds of the expandedBox to lay out expanded content.
@pixelzoom can you verify?
Verified, closing, thanks!
Should look like this, in published version (1.0.3):
Currently looks like this in master (marker editor and collapse button partially outside box):