Commit 2b645760 authored by Don Gagne's avatar Don Gagne Committed by Lorenz Meier

Rework param search ui (#3353)

parent 40185131
......@@ -71,20 +71,20 @@ QGCView {
height: searchText.height + ScreenTools.defaultFontPixelHeight / 3
spacing: ScreenTools.defaultFontPixelWidth
QGCTextField {
id: searchText
}
QGCButton {
anchors.top: searchText.top
anchors.bottom: searchText.bottom
text: qsTr("Filter by:")
text: qsTr("Search")
onClicked: {
_searchResults = controller.searchParametersForComponent(-1, searchText.text)
_searchFilter = true
}
}
QGCTextField {
id: searchText
}
QGCButton {
anchors.top: searchText.top
anchors.bottom: searchText.bottom
......
......@@ -63,6 +63,7 @@ Item {
smallFontPointSize = defaultFontPointSize * _screenTools.smallFontPointRatio
mediumFontPointSize = defaultFontPointSize * _screenTools.mediumFontPointRatio
largeFontPointSize = defaultFontPointSize * _screenTools.largeFontPointRatio
console.log("setBasePointSize", defaultFontPixelWidth)
}
Text {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment