-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strings can become too small when doubled and have room to be larger #313
Comments
@Denz1994 it seems like the maxWidths could be a hair bigger. I think we could allow strings to expand until they reach the red line. However, if this change requires significant refactoring or other complications, I don't think it's necessarily worth it, as Mass Equilibrium is more of a borderline case. |
@Denz1994 it really looks like the maxWidth of "Mass" ended up smaller than when I reviewed it. Unfortunately, it was just in master, so I can't go back and compare. |
@KatieWoe it's possible that we cannot make "Mass" any larger due to the limitations of numberControl. In #296 (comment) @Denz1994 commented that:
@Denz1994 does this also apply to "Mass"? |
@arouinfar The above #296 (comment) remains true for the massValueControl. This was the original intent behind switching the title to the left and the icon to its right. I didn't make any changes to the string font for "mass". RC.1 has "mass" at a different position, but the size is slightly larger. Do you want this change @arouinfar? It seems like the size hasn't changed otherwise. |
I'm going to second @arouinfar comment above. I am running into more refactors than I would like, specifically due to the bracket being in the checkboxGroup. |
Okay makes sense thanks for the feedback. |
Test device:
Dell Laptop
Operating System:
Windows 10
Browser:
Chrome
Problem description:
For phetsims/qa/issues/165
When stringTest=double a few of the strings in the right panel become almost unreadably small, though they still have room to be longer to their right.
Steps to reproduce:
Screenshots:
Troubleshooting information (do not edit):
Name: Masses and Springs:Masses and Springs
URL: https://bayes.colorado.edu/dev/html/masses-and-springs/1.0.0-rc.3/phet/masses-and-springs_all_phet.html?stringTest=double
Version: 1.0.0-rc.3 2018-08-08 21:38:04 UTC
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36
Language: en-US
Window: 1536x737
Pixel Ratio: 2.5/1
WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium)
GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor: WebKit (WebKit WebGL)
Vertex: attribs: 16 varying: 30 uniform: 4096
Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32)
Max viewport: 16384x16384
OES_texture_float: true
Dependencies JSON: {"assert":{"sha":"928741cf","branch":"HEAD"},"axon":{"sha":"37d5839c","branch":"HEAD"},"brand":{"sha":"89d28f63","branch":"HEAD"},"chipper":{"sha":"bc1f66fe","branch":"HEAD"},"dot":{"sha":"bd4d7035","branch":"HEAD"},"griddle":{"sha":"7be25724","branch":"HEAD"},"joist":{"sha":"8da47b06","branch":"HEAD"},"kite":{"sha":"3b76b24a","branch":"HEAD"},"masses-and-springs":{"sha":"b0f63e4a","branch":"HEAD"},"phet-core":{"sha":"e0cec207","branch":"HEAD"},"phet-io":{"sha":"e5c7148f","branch":"HEAD"},"phet-io-wrapper-classroom-activity":{"sha":"5204ea8e","branch":"HEAD"},"phet-io-wrapper-lab-book":{"sha":"ccaaaa4b","branch":"HEAD"},"phet-io-wrappers":{"sha":"f3701e8d","branch":"HEAD"},"phetcommon":{"sha":"80414edb","branch":"HEAD"},"query-string-machine":{"sha":"1f2322e4","branch":"HEAD"},"scenery":{"sha":"3b05db54","branch":"HEAD"},"scenery-phet":{"sha":"f37bff38","branch":"HEAD"},"sherpa":{"sha":"ded365aa","branch":"HEAD"},"sun":{"sha":"00b9c74c","branch":"HEAD"},"tandem":{"sha":"3e1c8fd3","branch":"HEAD"},"twixt":{"sha":"050e8f19","branch":"HEAD"}}
The text was updated successfully, but these errors were encountered: