Make USB image a bit larger

This is more in line with the design.

Contributes to issue CURA-8609.
This commit is contained in:
Ghostkeeper 2021-10-11 13:38:41 +02:00
parent e7b49ee551
commit da76280359
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -357,7 +357,7 @@ Window
onClicked: materialManagementModel.exportUpload() onClicked: materialManagementModel.exportUpload()
enabled: enabled:
{ {
if(!materialManagementModel) if(!materialManagementModel) //When the dialog is created, this is not set yet.
{ {
return false; return false;
} }
@ -482,7 +482,7 @@ Window
Image Image
{ {
source: UM.Theme.getImage("insert_usb") source: UM.Theme.getImage("insert_usb")
width: parent.width / 4 width: parent.width / 3
height: width height: width
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
sourceSize.width: width sourceSize.width: width
@ -495,7 +495,7 @@ Window
font: UM.Theme.getFont("medium") font: UM.Theme.getFont("medium")
color: UM.Theme.getColor("text") color: UM.Theme.getColor("text")
wrapMode: Text.Wrap wrapMode: Text.Wrap
width: parent.width * 3 / 4 - UM.Theme.getSize("default_margin").width width: parent.width * 2 / 3 - UM.Theme.getSize("default_margin").width
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
} }