Icons inside toolbutton are not centered vertically/horizontally (close button for notification or windows in present mode) Reproducible: Always Steps to Reproduce: 1. Load some element that uses toolbutton, it can be dummy (notify-send test) or real notification or trigger the present windows effect (and hover one of them) 2. The tollbutton for closing those elements has icon inside that is not centered vertically/horizontally 3. Actual Results: Icon inside toolbutton is not centered v/h Expected Results: Icon inside toolbutton should be centered v/h
Git commit 16f825706887ef77751ebf38cf177ce01f786bd7 by Kai Uwe Broulik. Committed on 26/07/2016 at 12:09. Pushed by broulik into branch 'master'. [Button Styles] Horizontally center in icon-only mode QtQuick.Layouts by default left aligns content and because the Layout is anchors.fill'd the icon would show off-center in a button when no text has been set. This fixes this. REVIEW: 128493 M +1 -0 src/declarativeimports/plasmastyle/ButtonStyle.qml M +1 -0 src/declarativeimports/plasmastyle/ToolButtonStyle.qml http://commits.kde.org/plasma-framework/16f825706887ef77751ebf38cf177ce01f786bd7