Skip to content

KTitleWidget: Constraint the frame size so it properly aligns

Ismael Asensio requested to merge work/iasensio/titlewidget-center into master

Setting the layout constraint to SetFixedSize makes the frame adapt to the labels size, fixing the wrong vertical alignment.

Vertical alignment counterpart for plasma/systemsettings!144 (merged).

The change is very subtle, but more noticeable when comparing it with the QML titles (and on gammaray)

BEFORE AFTER
ktitlewidget-before ktitlewidget-vcentered
gammaray-before gammaray-after

BUG: 460542

Edited by Ismael Asensio

Merge request reports