diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-06-24 21:03:50 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-06-27 08:34:05 +0000 |
commit | e86400fa6e0e2b2de2fa5b41bafa272e60883db8 (patch) | |
tree | 008ff239059aa92129c93545897b49dba6aad469 /src/imports/controls/material/Pane.qml | |
parent | c75ca309916ae1fec31ab37f25a7ddf9ea3c150a (diff) |
Material: fix radius
There's barely any visual difference, but follow the Material Design specs
that use 2dp corner radius.
Change-Id: I9f1462eeb89c2462abb07a76949710d11881c4ce
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/Pane.qml b/src/imports/controls/material/Pane.qml index 6a02b25a..251492ea 100644 --- a/src/imports/controls/material/Pane.qml +++ b/src/imports/controls/material/Pane.qml @@ -54,7 +54,7 @@ T.Pane { background: Rectangle { color: control.Material.backgroundColor - radius: control.Material.elevation > 0 ? 3 : 0 + radius: control.Material.elevation > 0 ? 2 : 0 layer.enabled: control.enabled && control.Material.elevation > 0 layer.effect: ElevationEffect { |