Closed ghost closed 5 years ago
Seems related to https://github.com/phetsims/fractions-common/issues/86.
@jonathanolson can you tweak the spacing some more for these extra wide challenges? Maybe the spacing between the equal sign and edges of the container should be the same, so they might be small but at least will be equally small?
Also noticed that we don't have much room when both use the largest representation:
@ariel-phet or @amanda-phet, should any layout/sizing changes be made to compensate? This doesn't come up much naturally, but it did happen.
Implemented. Also note that this puts the equals sign a bit off-center in common cases, e.g.:
whereas before it was a bit more centered:
@amanda-phet and @ariel-phet, does this look good, and/or what should be done about the "difficult to fit" case noted in https://github.com/phetsims/fractions-common/issues/100#issuecomment-479092091?
I don't mind the off-center equal sign since the matches are always listed horizontally.
I am not sure what to do about that really cramped case... My only thought is to make them smaller.
@jonathanolson I am also not bothered by the off center equal sign...
For the cramped case, I think making them smaller is fine. The point of the matches is to see that have you have completed them and have a reasonable idea of what they were. Having them be a bit small is acceptable since the matches are no longer central to the game play.
I can adjust the scale so that it ensures whatever minimum level of padding.
The bare minimum to ensure nothing overlaps looks like:
But I also noticed that this happens in the bottom zone randomly sometimes:
So:
Should I bump up the minimum amount of padding in the targets so that there is more space in that type of constrained case?
Thanks for finding this. Yes, we should slightly increase the padding. Even when there aren't two diamond shapes next to each other it looks strange.
Increased padding slightly now, so we have:
Let me know if it needs further tweaks!
Looks great. Thank you!
For https://github.com/phetsims/QA/issues/294.
Seen on Windows 10 + FF.
Looks bad to me.