phetsims / capacitor-lab-basics

"Capacitor Lab: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 4 forks source link

Longer strings near capacitance, plate charge, and energy bars need more space #268

Closed ghost closed 5 years ago

ghost commented 5 years ago

For https://github.com/phetsims/QA/issues/321. If you have strings that are just one character longer than the English strings next to the capacitance, top plate charge, and energy bars (not sure what else to call them?) there's no space.

Examples found by @arouinfar:

locale = uk (Ukranian) image

locale = th (Thai) image (1)

arouinfar commented 5 years ago

Thanks @lmulhall-phet.

@Denz1994 a few suggestions

image

Denz1994 commented 5 years ago

Alignments and maxWidth have both been adjusted. Will release a new RC for review.

KatieWoe commented 5 years ago

Looks good 1.7.0-rc.3