don't show shadow for flat toolbuttons
fixes the look of all themes that actually provide a separed button shadow Change-Id: I24fde6437e2cdd2949d629ddb53138ace0a883f3
This commit is contained in:
parent
d3dd3d58e1
commit
082ee9aad3
@ -204,6 +204,7 @@ QtQuickControlStyle.ButtonStyle {
|
||||
|
||||
Private.ButtonShadow {
|
||||
id: shadow
|
||||
visible: !style.flat
|
||||
anchors.fill: parent
|
||||
state: {
|
||||
if (control.pressed) {
|
||||
|
Loading…
Reference in New Issue
Block a user