mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
3dac87df3d
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
32 lines
833 B
QML
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
|
|
}
|
|
} |