Fix layout of dialog

CURA-9146
This commit is contained in:
Jaime van Kessel 2022-04-19 11:17:38 +02:00
parent 3ed182cd74
commit 05263b9a58
2 changed files with 8 additions and 19 deletions

View file

@ -46,7 +46,7 @@ UM.Dialog
Image
{
id: icon
width: 30 * screenScaleFactor
width: UM.Theme.getSize("card_icon").width
height: width
sourceSize.width: width
sourceSize.height: height
@ -81,11 +81,8 @@ UM.Dialog
[
Cura.PrimaryButton
{
leftPadding: UM.Theme.getSize("dialog_primary_button_padding").width
rightPadding: UM.Theme.getSize("dialog_primary_button_padding").width
text: licenseModel.acceptButtonText
onClicked: { handler.onLicenseAccepted() }
onClicked: handler.onLicenseAccepted()
}
]
@ -95,7 +92,7 @@ UM.Dialog
{
id: declineButton
text: licenseModel.declineButtonText
onClicked: { handler.onLicenseDeclined() }
onClicked: handler.onLicenseDeclined()
}
]
}