-
Notifications
You must be signed in to change notification settings - Fork 2
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
Calculation box changing size #6
Comments
Hmm, the reason this happens is because the line-by-line view mode requires extra arrow buttons (with currently extra padding): This could be potentially solved by:
Thoughts on ideally 1 or 2? |
I like either 2 or 3, so let's try 2 :) So, in the cases that push the box to be wider, the box would instead stay the same width but the longest calculation line would simply run between the arrows a bit? |
Correct. Implemented above, so for example for decimals it doesn't cause a panel expansion: but for cases like in the variables screen that require expansion anyways: Does this look acceptable to you? |
Eh, I've been sitting on this for a while and I think having the text spill into the scroll bar looks sloppy. Especially since - if I remember correctly- we were planning to treat that scroll bar as a "slider" for keyboard nav so you could easily press up/down instead of tabbing between two buttons. I'd rather leave it as it is than make this change... but am still open to discussing it. I can't be conclusive at the moment but wanted to be sure to respond. |
Understood! The change was committed to master, but I can easily revert if it's not desired. |
@jonathanolson and I discussed this and decided to go with option 3. There are tradeoffs of course, but other considerations make it seem the most worthwhile. |
…s, see phetsims/area-model-decimals#6" This reverts commit 60dc083.
Implemented. Can you check master to see if it looks good? |
Looks good in my opinion. Just checked the situation described in the initial issue though. |
Looks good to me. Thanks @jonathanolson |
Sounds good, I'll ask about whether things are stable enough for branching at tomorrow's dev meeting. |
The width of the partially hidden Area Model Calculation box (The middle option) changes when dragging the partitions. While the max width is changeable to allow for very large calculations, similar uses in the Area Model suite, or even the fully visible Area Model Calculation option, seem to have the width set at the width of the graph.
Found while working on phetsims/qa#201, but unrelated as it appears in Win 10 as well.
Steps to reproduce:
Example on partially hidden box:
Example on fully visible box:
The text was updated successfully, but these errors were encountered: