status-desktop/ui/shared/LabelValueRow.qml
emizzle 3dac87df3d feat/tx-comps: Add TransactionPreview component
Adds a TransactionPreview component as per the spec https://www.notion.so/emizzle/Wallet-transaction-components-2003b78a8d0d41c4ab3d21eb2496fb20

- update ReceiveModal dropdown to match design
- long alias and account name support
- long name support in account selector
- strip all trailing zeros from displayed balances
2020-08-19 14:38:45 -04:00

32 lines
833 B
QML

import QtQuick 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
import "../imports"
Item {
id: itmFrom
property alias label: txtLabel.text
property alias value: itmValue.children
Layout.alignment: Qt.AlignTop | Qt.AlignLeft
Layout.preferredWidth: parent.width
width: parent.width
height: 52
StyledText {
id: txtLabel
font.pixelSize: 15
height: parent.height
anchors.left: parent.left
anchors.leftMargin: Style.current.padding
anchors.verticalCenter: parent.verticalCenter
verticalAlignment: Text.AlignVCenter
width: 105
}
Item {
id: itmValue
anchors.left: txtLabel.right
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
height: parent.height
}
}