Merge pull request #206

fd55cd9 History: reclaim some vertical space from search label (moneromooo.monero)
This commit is contained in:
Riccardo Spagni 2016-12-08 23:53:49 +02:00
commit 5f8c05c640
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -171,27 +171,15 @@ Rectangle {
*/ */
// Filter by string // Filter by string
Label {
id: searchLabel
anchors.left: parent.left
anchors.top: filterHeaderText.bottom // addressLine.bottom
anchors.leftMargin: 17
anchors.topMargin: 17
text: qsTr("Incremental search") + translationManager.emptyString
fontSize: 14
tipText: qsTr("Search transfers for a given string") + translationManager.emptyString
}
LineEdit { LineEdit {
id: searchLine id: searchLine
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.top: searchLabel.bottom // addressLabel.bottom anchors.top: filterHeaderText.bottom
anchors.leftMargin: 17 anchors.leftMargin: 17
anchors.rightMargin: 17 anchors.rightMargin: 17
anchors.topMargin: 5 anchors.topMargin: 5
placeholderText: qsTr("Type search string") + translationManager.emptyString placeholderText: qsTr("Type for incremental search...") + translationManager.emptyString
onTextChanged: { onTextChanged: {
model.searchFilter = searchLine.text model.searchFilter = searchLine.text
selectedAmount.text = getSelectedAmount() selectedAmount.text = getSelectedAmount()