-
-
Notifications
You must be signed in to change notification settings - Fork 813
Fix scaling issues #4355
Fix scaling issues #4355
Conversation
f7dff52 to
0dac0cd
Compare
|
@JorikSchellekens is it possible to get gifs/screenshots of this in action? |
|
Of course, I'll get some screenshots of it. You can also test it yourself by setting the font size in :root. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| height: 16px; | ||
| width: $font-16px; | ||
| height: $font-16px; | ||
| margin-right: 0.24rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous mentions do have a border around them. I've just accidentily made them a little bigger than they should be. I'll fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The margin comes in as a result of replacing a large right padding used by the pill.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yeah, the pills do look a bit bigger in the auto-complete which I believe your screenshot was taking from?
It's a bit hard to see on your screenshot, but it looks like the padding-right is a bit smaller there, as in the text is more crammed against the end of the pill?
|
@JorikSchellekens what's the risk of breakage here at the default scaling factor? Just to know if we should merge this before or after releasing 1.6. |
1ffe948 to
fe51444
Compare
|
@JorikSchellekens could you rebase the branch on top of current develop to make see if the e2e tests run? |
309e6fc to
e7111b8
Compare
|
Did the rebase. The e2e test is timing out. |
bwindels
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, minus some minor questions.
Thanks for working on this, and sorry it took ages for me to finish the review.
This was a hard pill to swallow
This fix isn't perfect. Currently the scroll view is slightly smaller than the list of rooms. I think it has something to do with the how the heigh is calculate in js, considering it has some assumptions about the height of each bar and the padding. However room items are the only things which change with respect to the root value. Therefore the item list is actually taller than the computed pixel value of the list converted to rems. I'll look into it.
b054d43 to
1f99e15
Compare
1f99e15 to
c995e2e
Compare












This is a series small fixes for scaling which focus on the roomlist, the eventtiles and the settings window.
Things to check in review:
http://riots.im/adhoc/resize_mania2/