aboutsummaryrefslogtreecommitdiff
path: root/pages/History.qml
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-06-09 05:42:43 +0200
committerrating89us <rating89us@rating89us.com>2021-06-11 17:13:52 +0200
commit52aef114fab755d2a58c19252cdc1bcbedd1c122 (patch)
tree78c30b3caf180a68652b0cf914ec722104a26625 /pages/History.qml
parent7c379e2cdaafc0cd618dbaab466625aa76c918bf (diff)
downloadmonzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.tar.gz
monzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.tar.xz
monzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.zip
LineEdit: use ColumnLayout instead of Item (also used in LineEditMulti)
Diffstat (limited to 'pages/History.qml')
-rw-r--r--pages/History.qml28
1 files changed, 17 insertions, 11 deletions
diff --git a/pages/History.qml b/pages/History.qml
index 8711aca7..a7a56f92 100644
--- a/pages/History.qml
+++ b/pages/History.qml
@@ -171,19 +171,25 @@ Rectangle {
}
}
- MoneroComponents.InlineButton {
- Layout.topMargin: -8
+ Rectangle {
+ color: "transparent"
+ height: cleanButton.height
+ width: cleanButton.width
Layout.rightMargin: -8
Layout.leftMargin: -2
- buttonColor: "transparent"
- fontFamily: FontAwesome.fontFamilySolid
- fontStyleName: "Solid"
- fontPixelSize: 18
- text: FontAwesome.times
- tooltip: qsTr("Clean") + translationManager.emptyString
- tooltipLeft: true
- visible: searchInput.text != ""
- onClicked: searchInput.text = ""
+
+ MoneroComponents.InlineButton {
+ id: cleanButton
+ buttonColor: "transparent"
+ fontFamily: FontAwesome.fontFamilySolid
+ fontStyleName: "Solid"
+ fontPixelSize: 18
+ text: FontAwesome.times
+ tooltip: qsTr("Clean") + translationManager.emptyString
+ tooltipLeft: true
+ visible: searchInput.text != ""
+ onClicked: searchInput.text = ""
+ }
}
}
}