[KolourPaint] Fix color palette cell size
ClosedPublic

Authored by cfeck on May 17 2018, 2:39 AM.

Details

Summary

QHeaderView respects the minimumSectionSize since Qt 5.11, see QTBUG-68239.

Without this property set, the color cells end up wider than requested.

Test Plan

Tested with Qt 5.11 RC1.

Diff Detail

Repository
R374 KolourPaint
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cfeck requested review of this revision.May 17 2018, 2:39 AM
cfeck created this revision.
mkoller accepted this revision.May 17 2018, 5:05 AM

I don't have 5.11 RC right now to test, but the fix seems reasonable.

This revision is now accepted and ready to land.May 17 2018, 5:05 AM
This revision was automatically updated to reflect the committed changes.