Skip to content

Support PlasmoidHeading on other than Dialog and AppletPopup

Marco Martin requested to merge work/mart/fixMargin into master

The new panel config ui uses a PlasmoidHeading in a PopupPlasmaWindow which is not exposed in QML, so the logic for the margins fails and doesn't render correctly.

This makes it use the padding properties of the window when available. Unfortunately uses duck-typing as the relevant type is not exposed, in order to have something more type safe PopupPlasmaWindow should be binded to QML, (even if uncreatable) tough it would probably be more weird than this

before:

Screenshot_20231013_165302

after:

Screenshot_20231013_164525

Edited by Marco Martin

Merge request reports

Loading