status-desktop/ui/app/AppLayouts/Wallet/controls/MaxSendButton.qml

21 lines
447 B
QML
Raw Permalink Normal View History

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
}