diff --git a/package/contents/ui/AppMenu.qml b/package/contents/ui/AppMenu.qml --- a/package/contents/ui/AppMenu.qml +++ b/package/contents/ui/AppMenu.qml @@ -87,7 +87,10 @@ PlasmaComponents.Label { id: appmenuButtonTitle - anchors.centerIn: appmenuButtonBackground + anchors.top: appmenuButtonBackground.top + anchors.bottom: appmenuButtonBackground.bottom + verticalAlignment: Text.AlignVCenter + anchors.horizontalCenter: appmenuButtonBackground.horizontalCenter font.pixelSize: fontPixelSize * plasmoid.configuration.appmenuButtonTextSizeScale text: activeMenu.replace('&', '') font.weight: appmenuFontBold ? Font.Bold : theme.defaultFont.weight diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml --- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -319,9 +319,7 @@ anchors.left: parent.left anchors.leftMargin: windowIconOnTheRight ? 0 : iconMarginForAnchor + iconAndTextSpacing + activeWindowListView.buttonsBetweenAddition - anchors.top: parent.top - anchors.bottom: parent.bottom - verticalAlignment: Text.AlignVCenter + anchors.verticalCenter: parent.verticalCenter text: plasmoid.configuration.noWindowText wrapMode: Text.Wrap width: computedWidth