Pitel added a comment.

  Would it be better to move global menu 1px down instead?
  
                     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
  
  It also fixes the issue (although I liked the 1px higher a bit better in this 
specific case).
  
  F5742205: Screenshot_20180305_200905.png 
<https://phabricator.kde.org/F5742205>
  
  Anyway the root of the problem seems to be that each of them was centered in 
a different way.

REPOSITORY
  R884 Active Window Control Applet for Plasma

REVISION DETAIL
  https://phabricator.kde.org/D11065

To: Pitel, #plasma, martinkostolny
Cc: broulik, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart

Reply via email to