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
|
id: shadow
|
||||||
visible: !style.flat || control.activeFocus
|
visible: !style.flat || control.activeFocus
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
enabledBorders: surfaceNormal.enabledBorders
|
||||||
state: {
|
state: {
|
||||||
if (control.pressed) {
|
if (control.pressed) {
|
||||||
return "hidden"
|
return "hidden"
|
||||||
|
@ -41,6 +41,7 @@ Item {
|
|||||||
state: parent.state
|
state: parent.state
|
||||||
//used to tell apart this implementation with the touch components one
|
//used to tell apart this implementation with the touch components one
|
||||||
property bool hasOverState: true
|
property bool hasOverState: true
|
||||||
|
property alias enabledBorders: shadow.enabledBorders
|
||||||
|
|
||||||
PlasmaCore.FrameSvgItem {
|
PlasmaCore.FrameSvgItem {
|
||||||
id: hover
|
id: hover
|
||||||
|
Loading…
Reference in New Issue
Block a user