Michał Cieślak 1e88756c13 SendModal: new AmountToSend initial integration
- new AmountToSend used in SendModal
- MaxSendButton simplified

Closes: #15207
2024-07-19 17:27:08 +02:00

21 lines
447 B
QML

import QtQuick 2.15
import StatusQ.Controls 0.1
StatusButton {
required property string formattedValue
property bool markAsInvalid: false
text: qsTr("Max. %1").arg(formattedValue)
type: markAsInvalid ? StatusBaseButton.Type.Danger
: StatusBaseButton.Type.Normal
horizontalPadding: 8
verticalPadding: 3
implicitHeight: 22
radius: 20
font.pixelSize: 12
font.weight: Font.Normal
}