diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-06-10 10:16:26 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-06-10 10:16:26 -0500 |
| commit | 0a6f6cb9ac3bd28a07d01a88d05f54cb96d3f5ec (patch) | |
| tree | c1f5833c54cb2564df520ee9879aee10e47fd81d | |
| parent | 2946127ed791ef8dd6dc430b681a14cd5bd2d71e (diff) | |
| parent | 0775b529c4b6ba56d86f396f95291fb9eddb24b8 (diff) | |
| download | monzero-gui-0a6f6cb9ac3bd28a07d01a88d05f54cb96d3f5ec.tar.gz monzero-gui-0a6f6cb9ac3bd28a07d01a88d05f54cb96d3f5ec.tar.xz monzero-gui-0a6f6cb9ac3bd28a07d01a88d05f54cb96d3f5ec.zip | |
Merge pull request #3520
0775b52 History: clean search bar inline button (rating89us)
| -rw-r--r-- | pages/History.qml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/pages/History.qml b/pages/History.qml index 03d30c5e..0fb03b7b 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -154,10 +154,10 @@ Rectangle { Layout.fillWidth: true input.topPadding: 6 input.bottomPadding: 6 - fontSize: 16 + fontSize: 15 labelFontSize: 14 placeholderText: qsTr("Search by Transaction ID, Address, Description, Amount or Blockheight") + translationManager.emptyString - placeholderFontSize: 16 + placeholderFontSize: 15 inputHeight: 34 onTextUpdated: { if(searchInput.text != null && searchInput.text.length >= 3){ @@ -170,6 +170,21 @@ Rectangle { root.updateFilter(); } } + + MoneroComponents.InlineButton { + Layout.topMargin: -8 + 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 = "" + } } } |
