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 + } }