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.
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 useButtonMargin
as Arrow's margin, AndPM_ButtonMinimizedSize
is 36, so we don't worry it is smally.Issue: https://github.com/linuxdeepin/dtk/issues/36