summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2016-10-05 14:43:08 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2016-12-28 10:47:36 +0000
commita02f6fd987defb084aa1ee0f70fbe5014957fd8b (patch)
tree752cc6a83c5b5300d8db5178bfd16014d763645d
parentc724855ce938832e68f00627b69bae5b2d4c35be (diff)
Material: set default ToolBar's spacing to 16
According to the Material design guidelines, it is an appropriate spacing value for most use cases Change-Id: Ie72c63b3ca2e1a5b7457a38b460cf2bc4acbecb2 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/imports/controls/material/ToolBar.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/controls/material/ToolBar.qml b/src/imports/controls/material/ToolBar.qml
index 38acf43e..353ee61f 100644
--- a/src/imports/controls/material/ToolBar.qml
+++ b/src/imports/controls/material/ToolBar.qml
@@ -52,6 +52,8 @@ T.ToolBar {
Material.foreground: Material.toolTextColor
+ spacing: 16
+
background: Rectangle {
implicitHeight: 48
color: control.Material.toolBarColor