fix: minor fixes to give better context and use custom components
This commit is contained in:
parent
80cd040bcd
commit
3c9de2c432
|
@ -25,9 +25,8 @@ ModalPopup {
|
|||
|
||||
signal confirmButtonClicked()
|
||||
|
||||
Text {
|
||||
StyledText {
|
||||
text: confirmationDialog.confirmationText
|
||||
color: Style.current.textColor
|
||||
font.pixelSize: 15
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
@ -42,7 +41,7 @@ ModalPopup {
|
|||
StatusButton {
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Style.current.smallPadding
|
||||
color: Style.current.red
|
||||
color: Style.current.danger
|
||||
text: confirmationDialog.confirmButtonLabel
|
||||
anchors.bottom: parent.bottom
|
||||
onClicked: confirmationDialog.confirmButtonClicked()
|
||||
|
|
|
@ -8,7 +8,7 @@ Button {
|
|||
property string type: "primary"
|
||||
property string size: "large"
|
||||
property string state: "default"
|
||||
property string color: Style.current.buttonForegroundColor
|
||||
property color color: Style.current.buttonForegroundColor
|
||||
|
||||
id: control
|
||||
font.pixelSize: size === "small" ? 13 : 15
|
||||
|
|
Loading…
Reference in New Issue