broulik created this revision. broulik added a reviewer: Plasma. broulik set the repository for this revision to R242 Plasma Framework (Library). Restricted Application added projects: Plasma, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel.
REVISION SUMMARY This fixes the label not being vertically centered if the button is smaller than its implicit height. This can happen with the global menu applet in a narrow panel. BUG: 375911 TEST PLAN Put a global menu applet in a panel, made the panel narrow. Text is vertically centered and stil readable even at the panel's minimum height REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D4436 AFFECTED FILES src/declarativeimports/plasmastyle/ButtonStyle.qml src/declarativeimports/plasmastyle/ToolButtonStyle.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma Cc: plasma-devel, #frameworks, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas