mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Fix layout of dialog
CURA-9146
This commit is contained in:
parent
3ed182cd74
commit
05263b9a58
2 changed files with 8 additions and 19 deletions
|
@ -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()
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue