Closed KatieWoe closed 5 years ago
It appears that setting a maxWidth
on the value readout on SCENERY_PHET/MeasuringTapeNode
would solve this problem. Ideally it would have a default maxWidth
but also allow passing in a different maxWidth
via options. Changing this in master and testing would take less than 30 minutes--longer if we take the more general solution and add more options for customizing the MeasuringTapeNode text (such as font, coloring, etc). Patching this into Wave Interference 2.0 and Waves Intro 1.0 (creating branches, cherry-picking, testing, making sure SHAs are right) would take another 30-60 minutes.
My recommendation is to address this in master and not spend time cherry-picking into the Wave Interference branches for this publication, but I'm happy to add it if anyone thinks that is a good use of time.
@arouinfar or @ariel-phet what do you think?
@samreid fine to just change in master. For the most part this string should basically always be an abbreviation and is unlikely to ever be particularly long in any real-world translation.
In master, I set a default max width for the measuring tape, and it is overridable. I used the established pattern in the file which is not our latest and greatest pattern. That will warrant another issue.
@KatieWoe do you mind testing this on master? If all is well, this issue can be closed.
Looks good
Test device Dell Operating System Win 10 Browser Chrome Problem description For https://github.com/phetsims/QA/issues/405 This does occur in the published version. May not be worth fixing, and does not seem to cause any practical problems. When strings are long, the string under the measuring tape becomes very long. Steps to reproduce
Visuals
Troubleshooting information: