From 60b2d9003342528d6906ae5bf61e38439ce69d97 Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Sat, 8 Oct 2016 03:54:35 +0300 Subject: [PATCH] History: display "fee" for sent transactions --- components/HistoryTable.qml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index 0cca1148..f08ce8d2 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -252,7 +252,33 @@ ListView { font.pixelSize: 18 font.letterSpacing: -1 color: isOut ? "#FF4F41" : "#36B05B" - text: displayAmount + text: displayAmount + } + } + } + + // -- "Fee column + Column { + anchors.top: parent.top + width: 148 + visible: isOut + Text { + anchors.left: parent.left + font.family: "Arial" + font.pixelSize: 12 + color: "#545454" + text: qsTr("Fee") + translationManager.emptyString + } + + Row { + spacing: 2 + Text { + anchors.bottom: parent.bottom + font.family: "Arial" + font.pixelSize: 18 + font.letterSpacing: -1 + color: isOut ? "#FF4F41" : "#36B05B" + text: fee } } }