same enabled borders between toolbutton and shadow
Change-Id: I6180121b32755f6f0ee391f8399b3a7cce55d14e
This commit is contained in:
parent
e565c5c225
commit
dc1bfc3de1
@ -208,6 +208,7 @@ QtQuickControlStyle.ButtonStyle {
|
||||
id: shadow
|
||||
visible: !style.flat || control.activeFocus
|
||||
anchors.fill: parent
|
||||
enabledBorders: surfaceNormal.enabledBorders
|
||||
state: {
|
||||
if (control.pressed) {
|
||||
return "hidden"
|
||||
|
@ -41,6 +41,7 @@ Item {
|
||||
state: parent.state
|
||||
//used to tell apart this implementation with the touch components one
|
||||
property bool hasOverState: true
|
||||
property alias enabledBorders: shadow.enabledBorders
|
||||
|
||||
PlasmaCore.FrameSvgItem {
|
||||
id: hover
|
||||
|
Loading…
Reference in New Issue
Block a user