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

fix: make borders on windows 11 thinner #5836

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Jan 19, 2025

It seems like Windows 11 automatically adds a border for us. If we manually add one, we make it thicker, which doesn't look nice (notice the thick border on the left).
Now, the border doesn't change its color when selected/unselected, but that seems to be the common way on Windows 11 (I tested Firefox).

✨ Comparison ✨

Description Before After
Selected
Unselected

(I hope this fixes) #5645.

@Void48
Copy link

Void48 commented Jan 19, 2025

Just tested. Works as it should. 👍🏻

@Void48
Copy link

Void48 commented Jan 20, 2025

Maybe unrelated to the PR (not sure since it claims to fix #5645), but the chat box border still looks bad compared to the 2.5.1 release. Resizing the window just causes it to shift around. 🤔

@Nerixyz
Copy link
Contributor Author

Nerixyz commented Jan 20, 2025

but the chat box border still looks bad compared to the 2.5.1 release.

I think that's a separate issue. This PR only fixes the border of the application window.

For the split input, I don't know what the best solution is. Yes, I can remove the margins, but then multiple horizontal splits will look bad next to each other (notice: the margin is inside the split, not inside the window).

The question is basically: How should this look?

And... I don't know.

Resizing the window just causes it to shift around. 🤔

Is that a separate bug with this PR? Resizing the window works as expected for me.

@Void48
Copy link

Void48 commented Jan 24, 2025

Is that a separate bug with this PR? Resizing the window works as expected for me.

Sorry for not replying to you quicker. To answer your question, nope, it's not a bug with this PR. I just thought I should bring it up since it's been bothering me. I guess creating a new PR for this issue (if it can even be fixed) would be better. 👍🏻

recording.mp4

@Nerixyz
Copy link
Contributor Author

Nerixyz commented Jan 24, 2025

Sorry for not replying to you quicker. To answer your question, nope, it's not a bug with this PR. I just thought I should bring it up since it's been bothering me. I guess creating a new PR for this issue (if it can even be fixed) would be better. 👍🏻

Yea, it's better to do this separately. This looks like a Qt bug (some float → int conversion maybe?). Or it's some scaling "bug".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants