a check more on centering
Change-Id: Ib22fcc6fe727c8b2b5ddc2473663c1e56b1dad09 CCBUG:342537
This commit is contained in:
parent
af0dffd89b
commit
d96a8505d9
@ -168,6 +168,7 @@ QtQuickControlStyle.ButtonStyle {
|
||||
elementId: (control.pressed || control.checked) ? "pressed" : "normal"
|
||||
width: Math.floor(parent.height/2) * 2
|
||||
height: width
|
||||
anchors.centerIn: parent
|
||||
//internal: if there is no hover status, don't paint on mouse over in touchscreens
|
||||
opacity: (control.pressed || control.checked || !style.flat || (roundShadow.hasOverState && control.hovered)) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
|
Loading…
Reference in New Issue
Block a user