Closed KatieWoe closed 5 years ago
It looks like the checkbox/icon group is centered in the panel. However, the checkboxes/strings should remain on the left side of the panel, and the icons should remain on the right side of the panel. Making the strings very short should result in a larger gap between the string and icon.
The fix for the checkbox described above should be applied to all checkbox items. This includes VectorVisibilityControlNode
and IndicatorVisibilityControlNode
for both basics and non-basics versions.
And the Gravity string seems a bit short @arouinfar
And the Gravity string seems a bit short @arouinfar
Thanks @KatieWoe, since this is a maxWidth issue, and not really related to ?stringTest=x
, I've moved https://github.com/phetsims/masses-and-springs-basics/issues/59#issuecomment-467646519 to #63.
Only vectors panel has been updated with some logic to assign a spacing dynamically, based on the content of the panel. Before I apply these changes elsewhere and continue with refactors, could you please review the behavior of this panel with the arrow vectors on master @arouinfar.
Here is what the vector panel looks like with stringTest=x
:
Note any fix for the original panel described in https://github.com/phetsims/masses-and-springs-basics/issues/59#issue-409418640 should be applied to the vector panel as well, so it is safe to review both.
@Denz1994 the vector panel has the desired alignment with ?stringTest=x
. Ideally, the reference line checkboxes would be left aligned with the vector checkboxes, and the reference line icons would be right-aligned with the vector icons.
Currently, the reference line checkboxes are still centered in master.
the vector panel has the desired alignment with ?stringTest=x
Nice. Similar behavior for a dynamic maxWidth was applied to all other checkboxes and radio buttons with a complimentary icon. Could you review master @arouinfar and assign back to me?
Looks good in MAS and MASB! Thanks @Denz1994.
The relevant commits need to be cherry-picked into the RC branch for MASB before the next RC test.
Relevant commits have been cherry-picked into MAS masses-and-springs-basics-1.0
branch and MASB 1.0
branch. This is now ready for verification in the next RC test.
Looks good in both versions. MASB 1.0.0-rc.3
For https://github.com/phetsims/QA/issues/281 From slack: