fix(SearchBox): missing properties in style file (color, fontSize)

This commit is contained in:
Ronan Abhamon 2016-10-26 09:57:11 +02:00
parent 14cac8ad29
commit fcb1b2a52f
2 changed files with 7 additions and 0 deletions

View file

@ -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()

View file

@ -11,4 +11,9 @@ QtObject {
property Rectangle searchFieldBackground: Rectangle {
implicitHeight: 30
}
property QtObject text: QtObject {
property color color: Colors.d
property int fontSize: 11
}
}