diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-06-12 11:44:47 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-06-13 11:58:47 +0000 |
commit | 3e40325d44c64f2c3fa3403e9efd6a51759ec0e9 (patch) | |
tree | ec9b9fd12cc7e73d1faea2330d80e64770335abf /src/imports/controls/material/Pane.qml | |
parent | 556bfd141b02e8ce2a863112f90609409460797f (diff) |
Material: fix elevation effect for Frame, GroupBox, Pane & TabBar
[ChangeLog][Material] Fixed (optional) elevation effects for Frame,
GroupBox, Pane, and TabBar.
Change-Id: Ic725049d7023175a6c00765fb85b944bc250c4c6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/material/Pane.qml')
-rw-r--r-- | src/imports/controls/material/Pane.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/material/Pane.qml b/src/imports/controls/material/Pane.qml index 0ddd5cf4..6a02b25a 100644 --- a/src/imports/controls/material/Pane.qml +++ b/src/imports/controls/material/Pane.qml @@ -54,6 +54,7 @@ T.Pane { background: Rectangle { color: control.Material.backgroundColor + radius: control.Material.elevation > 0 ? 3 : 0 layer.enabled: control.enabled && control.Material.elevation > 0 layer.effect: ElevationEffect { |