diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-11-17 09:27:04 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-11-17 10:24:30 +0000 |
commit | af9729ecf4434c5884cb61b990b819aaccd3af9b (patch) | |
tree | e718e702ce4c8b135b19f671b2dbe07b5981782b /examples/quickcontrols2/contactlist/SectionDelegate.ui.qml | |
parent | fe34af03e3e673419513ef139b67321b0ad17e7e (diff) |
Contact List example: replace Qt Quick primitives with Controls
This ensures that we get the correct colors when running with different
styles.
Change-Id: If249f9704fbe157aab1b121cf7d09ee05ab85c14
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/contactlist/SectionDelegate.ui.qml')
-rw-r--r-- | examples/quickcontrols2/contactlist/SectionDelegate.ui.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/quickcontrols2/contactlist/SectionDelegate.ui.qml b/examples/quickcontrols2/contactlist/SectionDelegate.ui.qml index 6cc22d61..3b9f7dc5 100644 --- a/examples/quickcontrols2/contactlist/SectionDelegate.ui.qml +++ b/examples/quickcontrols2/contactlist/SectionDelegate.ui.qml @@ -49,6 +49,7 @@ ****************************************************************************/ import QtQuick 2.7 +import QtQuick.Controls 2.1 Rectangle { height: 20 @@ -65,7 +66,7 @@ Rectangle { } } - Text { + Label { x: 12 color: "white" text: section |