square by default

This commit is contained in:
Marco Martin 2018-04-22 22:06:57 +02:00
parent 47d1bc946a
commit efc1385ae3

View File

@ -51,7 +51,7 @@ T.ToolButton {
background: Item { background: Item {
visible: (!control.flat || control.hovered) && (!control.pressed || !control.checked) visible: (!control.flat || control.hovered) && (!control.pressed || !control.checked)
//retrocompatibility with old controls //retrocompatibility with old controls
implicitWidth: units.gridUnit * 6 implicitWidth: units.gridUnit * 1.6
implicitHeight: units.gridUnit * 1.6 implicitHeight: units.gridUnit * 1.6
Private.ButtonShadow { Private.ButtonShadow {
anchors.fill: parent anchors.fill: parent