You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We override pretty much every aspect of the style via our stylesheet so this just ensures Win 10 and Win 11 both start from the same base appearance, instead of the system default Qt style (windowsvista on Win10, windows11 on Win11)
How Has This Been Tested?
Compiled and ran on my Windows 11 laptop. Confirmed that the extra padding in list views is gone.
Also compiled and ran on my Windows 10 machine with the style set to windows11 instead, which caused the excessive padding on my Windows 10 machine.
Types of changes
Bug fix (non-breaking change which fixes an issue)
This seems a bit of a kludge. The windowsvista style is less maintained than the windows11 from a glance at the commit history, and there are some behavior differences between the two (progress bar text rendering, I think). I would not be surprised if some day Qt removes the windowsvista style, so we should report this as a QTBUG.
This seems a bit of a kludge. The windowsvista style is less maintained than the windows11 from a glance at the commit history, and there are some behavior differences between the two (progress bar text rendering, I think). I would not be surprised if some day Qt removes the windowsvista style, so we should report this as a QTBUG.
The windows style which is based off windows 95 still exists and would work just as well too. I'm not sure why you'd expect the vista theme to have a more active commit history than the windows11 theme, which is clearly still a work in progress :P
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Forces Windows 11 to use the
windowsvistabase theme.Fixes some weird padding issues on Windows 11 on the current Qt version.

Fixes #13598
Motivation and Context
We override pretty much every aspect of the style via our stylesheet so this just ensures Win 10 and Win 11 both start from the same base appearance, instead of the system default Qt style (
windowsvistaon Win10,windows11on Win11)How Has This Been Tested?
Compiled and ran on my Windows 11 laptop. Confirmed that the extra padding in list views is gone.
Also compiled and ran on my Windows 10 machine with the style set to
windows11instead, which caused the excessive padding on my Windows 10 machine.Types of changes
Checklist: