Skip to content

[kcmoduleqml] Fix top margin for QML KCMs

Ismael Asensio requested to merge work/fix_topmargin_qml into master

QML KCMs have an extra top margin which places the title lower than the title on QWidget KCMs.

This is set in Kirigami.AbstractApplicationItem#295:

topMargin: header && controlsVisible ? header.height : 0

We can avoid this by setting the property controlsVisible to false

BEFORE:

topmargin_before

AFTER:

topmargin_after

Merge request reports