Review Request 128493: [Button Styles] Horizontally center in icon-only mode

Kai Uwe Broulik kde at
Tue Jul 26 12:09:27 UTC 2016

This is an automatically generated e-mail. To reply, visit:

(Updated July 26, 2016, 2:09 p.m.)


This change has been marked as submitted.

Review request for Plasma.


Submitted with commit 16f825706887ef77751ebf38cf177ce01f786bd7 by Kai Uwe Broulik to branch master.

Bugs: 365947

Repository: plasma-framework


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.


  src/declarativeimports/plasmastyle/ButtonStyle.qml a962512 
  src/declarativeimports/plasmastyle/ToolButtonStyle.qml 1562590 



* Close button icon in present window is no longer misaligned
* Close button icon in notification is no longer misaligned
* Button icons in panel controller (German locale where text is so long it hides the labels) are no longer misaligned
* Panel controller more menu buttons are fine (both the ones with and without label)
* Ran tests/components/button.qml all looked fine


Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Plasma-devel mailing list