zhiyiYo / PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.
https://qfluentwidgets.com
GNU General Public License v3.0
5.83k stars 565 forks source link

SwitchButton Handle is Misaligned #302

Closed rllysleepy closed 1 year ago

rllysleepy commented 1 year ago

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 image image

zhiyiYo commented 1 year ago

无法复现此问题