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 }