path: root/src/imports/controls/doc/src
diff options
authorJ-P Nurmi <jpnurmi@qt.io>2016-10-21 17:37:43 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-10-24 10:39:18 +0000
commit31ed6f5235b841cce260d183eeb5c91d3eb8a93a (patch)
tree976c6110e19a9cb97af2d31f162a47a73c87393a /src/imports/controls/doc/src
parent6f7d739bd6de6833ee049b8ba424c79e88c42ad7 (diff)
Doc: minor tweaks to the Material style page
Fix the value used in the foreground example, and mention the default accent value right after the brief description, before the example snippet, to make it more visible. The same order is used for all other properties. Change-Id: I10613b6ed2417eb886602d40e90cc74e2dbaf484 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/doc/src')
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc
index 3ff9f5ea..c253bf72 100644
--- a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc
+++ b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc
@@ -239,6 +239,8 @@
This attached property holds the accent color of the theme. The property
can be attached to any window or item. The value is propagated to children.
+ The default value is \c Material.Pink.
In the following example, the accent color of the highlighted button is
changed to \c Material.Orange:
@@ -250,8 +252,6 @@
\image qtquickcontrols2-material-accent.png
- The default value is \c Material.Pink.
\note Even though the accent can be any \l {colorbasictypedocs}{color}, it is
recommended to use one of the \l {pre-defined Material colors} that have been
designed to work well with the rest of the Material style palette.
@@ -308,7 +308,7 @@
The default value is theme-specific (light or dark).
In the following example, the foreground color of the button is set to \c
- Material.Brown:
+ Material.Pink: