Describe the bug
The switch button is misaligned when switching from off to on.
In the off state, the button handle is 9px from top and bottom.
In the on state, the button handle has shrunk, and is now 9px from top but 12px from bottom.
Environment
OS: Win 11
DPI scaling: 200%
Python: 3.11
PyQt: PyQt6
To Reproduce
Gallery file shows this behaviour.
Expected behavior
Should be aligned--button handle shouldn't shrink in size.
Describe the bug The switch button is misaligned when switching from off to on. In the off state, the button handle is 9px from top and bottom. In the on state, the button handle has shrunk, and is now 9px from top but 12px from bottom.
Environment
To Reproduce Gallery file shows this behaviour.
Expected behavior Should be aligned--button handle shouldn't shrink in size.
Screenshots