mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-12 15:24:39 +00:00
1e88756c13
- new AmountToSend used in SendModal - MaxSendButton simplified Closes: #15207
21 lines
447 B
QML
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
|
|
}
|