From fcb1b2a52f74792d1c194eee9fac313145899bd0 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 26 Oct 2016 09:57:11 +0200 Subject: [PATCH] fix(SearchBox): missing properties in style file (color, fontSize) --- tests/ui/modules/Common/SearchBox.qml | 2 ++ tests/ui/modules/Common/Styles/SearchBoxStyle.qml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/tests/ui/modules/Common/SearchBox.qml b/tests/ui/modules/Common/SearchBox.qml index 46af3d2c5..bed4d93ed 100644 --- a/tests/ui/modules/Common/SearchBox.qml +++ b/tests/ui/modules/Common/SearchBox.qml @@ -49,6 +49,8 @@ Item { id: searchField background: SearchBoxStyle.searchFieldBackground + color: SearchBoxStyle.text.color + font.pointSize: SearchBoxStyle.text.fontSize width: parent.width Keys.onEscapePressed: _hideMenu() diff --git a/tests/ui/modules/Common/Styles/SearchBoxStyle.qml b/tests/ui/modules/Common/Styles/SearchBoxStyle.qml index 9d31cad80..340023c78 100644 --- a/tests/ui/modules/Common/Styles/SearchBoxStyle.qml +++ b/tests/ui/modules/Common/Styles/SearchBoxStyle.qml @@ -11,4 +11,9 @@ QtObject { property Rectangle searchFieldBackground: Rectangle { implicitHeight: 30 } + + property QtObject text: QtObject { + property color color: Colors.d + property int fontSize: 11 + } }