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

AboutDialog: Disable resizing the About window #13303

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

JoshuaVandaele
Copy link
Contributor

This prevents the About Dialog window from being resized, which lead to this result:

image

It now cannot be maximized or otherwise resized:

image

Verified

This commit was signed with the committer’s verified signature.
GeopJr Evan Paterakis
@BhaaLseN
Copy link
Member

Does it play nice with HiDPI, per-monitor DPI and scaling? Probably does (or it was broken already before), but I ran into an application at work the other day that had a fixed-size window that was simply cut off when scaling was higher than 100% (but just that one, the rest was fine)

@JoshuaVandaele
Copy link
Contributor Author

I don't have the hardware to test that, but it simply disallows resizing once Qt is done calculating the required size for the window by itself, it should be fine

Copy link
Member

@BhaaLseN BhaaLseN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neither do I, but eh, as said, it would probably be broken regardless if that were the case. :shipit:

Copy link
Member

@mbc07 mbc07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested this on Windows with 150% scaling on a 15.6" with QHD resolution and it displayed fine, so HiDPI seems covered as well...

@JosJuice JosJuice merged commit 56b7b0a into dolphin-emu:master Jan 25, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants