From 31ed6f5235b841cce260d183eeb5c91d3eb8a93a Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 21 Oct 2016 17:37:43 +0200 Subject: 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 --- src/imports/controls/doc/src/qtquickcontrols2-material.qdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/imports/controls/doc/src') 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 \endtable - 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: \table \row -- cgit v1.2.3