Skip to content
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

Tabs are too wide after changing zoom #1266

Closed
Mm2PL opened this issue Aug 31, 2019 · 1 comment · Fixed by #4193 or #5404
Closed

Tabs are too wide after changing zoom #1266

Mm2PL opened this issue Aug 31, 2019 · 1 comment · Fixed by #4193 or #5404
Labels
bug Something isn't working as intended, or works in a confusing/unintuitive way for the user

Comments

@Mm2PL
Copy link
Collaborator

Mm2PL commented Aug 31, 2019

Describe the bug

After resetting the zoom some elements are misplaced and some others have size problems.

How to Reproduce

Zoom Chatterino as far as you can by holding control and scrolling up. Press Ctrl+0 to reset the zoom. Text boxes will be bigger than normal, tab headers will be bigger than needed, hints where the subs/notifs are will be moved towards the middle.

Expected behavior

The zoom will be reset like it is done with scrolling the wheel.

Screenshots

screenshot

Chatterino version

2.1.2 671c9ed
Edit: stupid mistake

Additional context

If you change the zoom by ctrl scrolling the wheel everything will be back to normal.

@Mm2PL Mm2PL added bug Something isn't working as intended, or works in a confusing/unintuitive way for the user needs triage labels Aug 31, 2019
@Mm2PL Mm2PL changed the title Resetting the zoom changes element size in an unexpected way. Resetting the zoom changes the UI in an unexpected way. Aug 31, 2019
@pajlada
Copy link
Member

pajlada commented Aug 31, 2019

Confirmed also happening on my Arch Linux setup. I can't find what's different about the scroll wheel and CTRL+0 events. calling updateScale manually seems to fix this but idk if that's the right solution

@fourtf fourtf changed the title Resetting the zoom changes the UI in an unexpected way. Tabs are too wide after changing zoom Sep 1, 2019
@fourtf fourtf closed this as completed in d796517 Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended, or works in a confusing/unintuitive way for the user
Projects
None yet
2 participants