make sure the size hints are integer and even

Authored by mart on Feb 14 2020, 12:09 PM.

Description

make sure the size hints are integer and even

Summary:
for retrocompatibility with pc2 units.gridUnit * 1.6 is used
a lot as size hint (we have to guarantee buttons and
textfields have the same height by default for perfect
horizontal alignment.
tough we have make sure that size is integer and even otherwise
we'll have a lot of internal misalignments

Reviewers: broulik

Reviewed By: broulik

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D27399

Details

Committed
martFeb 14 2020, 12:55 PM
Reviewer
broulik
Differential Revision
D27399: make sure the size hints are integer and even
Parents
R242:3de1c2462eda: support icon.width/height
Branches
Unknown
Tags
Unknown