linuxdeepin / qt5integration

Qt platform theme integration plugins for DDE.
Other
36 stars 47 forks source link

fix: Modify PushButton's size to Adapt Compact #131

Closed 18202781743 closed 1 year ago

18202781743 commented 1 year ago

In design, PushButton's height is 36 in NormalMode and it is 24 in Compact, the margin of Arrow with frame is 10. We only minus ButtonMargin for height to adap CompactMode, and use ButtonMargin as Arrow's margin, And PM_ButtonMinimizedSize is 36, so we don't worry it is smally.

Issue: https://github.com/linuxdeepin/dtk/issues/36