make sure the size hints are integer and even
ClosedPublic

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

Details

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

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart created this revision.Feb 14 2020, 12:12 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 14 2020, 12:12 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mart requested review of this revision.Feb 14 2020, 12:12 PM
broulik accepted this revision.Feb 14 2020, 12:53 PM
This revision is now accepted and ready to land.Feb 14 2020, 12:53 PM
This revision was automatically updated to reflect the committed changes.

Please ensure that you've run the relevant plasma-framework/tests/components in qmlscene