completion widget: fix minimum header section size
ClosedPublic

Authored by brauch on Aug 12 2018, 5:20 PM.

Details

Summary

The header is hidden, but if the minimum size is -1 (the default), Qt
chooses something non-zero as the minimum size. The completion widget
then sets it to something, assumes it has that width, and messes up
its layout when it actually ends up being larger than that.

Diff Detail

Repository
R39 KTextEditor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
brauch created this revision.Aug 12 2018, 5:20 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptAug 12 2018, 5:20 PM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
brauch requested review of this revision.Aug 12 2018, 5:20 PM
dhaumann accepted this revision.Aug 12 2018, 5:21 PM
This revision is now accepted and ready to land.Aug 12 2018, 5:21 PM
This revision was automatically updated to reflect the committed changes.