[qt5] Fix SpinMirror drawing in kalarm

Authored by yuyichao on Apr 8 2020, 10:44 PM.

Description

[qt5] Fix SpinMirror drawing in kalarm

The fix is basically copied from QCommonStyle. The issue appears to be
a shift in the coordinate causing the wrong edge to be exposed.
However, the whole coordinate calculation is too complex that I don't think
I know exactly what the coordinates are supposed to be.

Right-to-left rendering was tested in a hacy way by overriding option
in the CC_SpinBox rendering function.

Details

Committed
yuyichaoApr 8 2020, 10:44 PM
Parents
R626:edf540f1a5ef: [qt5, NFC] Format to match QCommonStyle implemenation better.
Branches
Unknown
Tags
Unknown