Skip to content

Qt: Disable game compat comments button instead of hiding it#3639

Merged
stenzek merged 1 commit intostenzek:masterfrom
Pesa:comments-button
Nov 25, 2025
Merged

Qt: Disable game compat comments button instead of hiding it#3639
stenzek merged 1 commit intostenzek:masterfrom
Pesa:comments-button

Conversation

@Pesa
Copy link
Contributor

@Pesa Pesa commented Nov 25, 2025

This is a workaround for a longstanding Qt issue on macOS where the layout can get messed up in certain circumstances.
I don't remember the exact conditions under which it happens (something related to combo boxes and nested layouts inside grid layouts) but this is one of those cases[*]. The issue is purely aesthetic and admittedly fairly minor, so I'm totally ok with dropping the PR if you don't like the workaround.

[*] Notice in the screenshot how there's too much space above and below the "Compatibility" row. Moreover, the combo box is shifted slightly to the right instead of being aligned with the other controls above and below it. Removing the nested layout fixes the latter issue and reduces the amount of extra space (but doesn't fully eliminate it).

bad

@stenzek stenzek merged commit f9ca1f2 into stenzek:master Nov 25, 2025
7 of 9 checks passed
@Pesa Pesa deleted the comments-button branch November 25, 2025 03:20
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