phetsims / masses-and-springs

"Masses and Springs" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 5 forks source link

More Pixel Polishing #292

Closed arouinfar closed 6 years ago

arouinfar commented 6 years ago

For https://github.com/phetsims/QA/issues/129

Gravity and Damping sliders should be formatted like Gravity and Friction sliders and Pendulum Lab (right). In particular:

Format Spring Constant sliders like Spring Length slider:

Tweaks to Mass Panel

arouinfar commented 6 years ago

@Denz1994 if you have any questions, please let me know. I'd also be happy to discuss over Zoom.

Denz1994 commented 6 years ago

On Vectors, it looks like the vector checkboxes may be a tad larger than the top group of checkboxes. Here's a comparison. It's subtle, but does look slightly different. (Edit: Is it possible that there's a slight difference in font size causing this issue?)

@arouinfar Can you verify that this was corrected? I need a second eye to make sure.

arouinfar commented 6 years ago

@arouinfar Can you verify that this was corrected? I need a second eye to make sure.

@Denz1994 the checkboxes are not the same size. GitHub resized the screenshots, but the red line is the same length in both screenshots. Looks like the vector checkboxes are still a tad bit larger.

image image

arouinfar commented 6 years ago

@Denz1994 looks like these items haven't been addressed in master:

  1. Increase readout font size to same size at title (14pt, I believe)

Gravity readout is 12 pt, but should be increased to 14 pt to match "Gravity" title. Perhaps you need to make the readout box a tad bigger so the font can be larger.

  1. Increase padding between slider title and max/min label to match Spring Length

Small/Large is still closer to the title than Short/Long image

  1. Increase panel width to match Spring Length

Spring Constant and Spring Length now have the same width, which is great. However, it looks like you ended up making the Spring Length panel narrower to match Spring Constant, which crowds the Short/Long labels. The Constant Parameter title/options are now also indented too much.

image

  1. Increase readout font size to match updated Gravity readout (14 pt?)

Mass readout is currently a tad bit smaller than Gravity readout. Both readouts should be 14 pt.

Denz1994 commented 6 years ago

Work in progress. Thanks for the feedback.

Denz1994 commented 6 years ago

Good catch @arouinfar. Could you review master now?

arouinfar commented 6 years ago

@Denz1994 (1) and (4) look great. It doesn't look like any action was taken for (3).

Keep Spring Length and Spring Constant panels the same width, but increase width by a few px. This will give min/max slider labels a bit more padding on the sides. Left-align Constant Parameter and radio options with "Short".

It looks like (2) had some unintended consequences. The "Gravity" and "Damping" titles have shrunken quite a bit. This is particularly noticeable if you switch between the Energy and Lab screens. The title should remain the same size -- compare to the Energy/Lab screens in Pendulum Lab.

You may also need to add an extra pixel of whitespace between the bottom of the readout and the slider because because the readout and max label are looking pretty cramped. Any additional padding added to the Gravity slider should apply to Damping as well, so that their formatting remains the same.

Denz1994 commented 6 years ago

You are right about (3). I need a second eye to review the other changes @arouinfar.

arouinfar commented 6 years ago

Everything looks great @Denz1994. Thanks!

Denz1994 commented 6 years ago

Great!!!!