aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-11-24 11:48:47 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-11-24 15:16:04 +0000
commitc6cfb5cf5471e54f956176b668659767a065af99 (patch)
treeee229ca25beb0e6a656876fc89a8af67b12a07e8 /src/imports/controls/material
parentaa06a424c5b40d7961a3928e12e59a0aff855675 (diff)
Material: fix Drawer to respect Material.elevation
Change-Id: Iecb9e44fb955ad5dc9a8ddf69b4340108693458f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/material')
-rw-r--r--src/imports/controls/material/Drawer.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/imports/controls/material/Drawer.qml b/src/imports/controls/material/Drawer.qml
index a4b2e3bc..c7f4825c 100644
--- a/src/imports/controls/material/Drawer.qml
+++ b/src/imports/controls/material/Drawer.qml
@@ -53,12 +53,14 @@ T.Drawer {
enter: Transition { SmoothedAnimation { velocity: 5 } }
exit: Transition { SmoothedAnimation { velocity: 5 } }
+ Material.elevation: 16
+
background: Rectangle {
color: control.Material.dialogColor
layer.enabled: control.position > 0
layer.effect: ElevationEffect {
- elevation: 16
+ elevation: control.Material.elevation
fullHeight: true
}
}