mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 03:37:48 -06:00
LicenseDialog layout tweaking
CURA-7129
This commit is contained in:
parent
b3812a3630
commit
2f3cf3c493
1 changed files with 10 additions and 7 deletions
|
@ -27,6 +27,7 @@ UM.Dialog
|
||||||
ColumnLayout
|
ColumnLayout
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
spacing: UM.Theme.getSize("thick_margin").height
|
||||||
|
|
||||||
UM.I18nCatalog{id: catalog; name: "cura"}
|
UM.I18nCatalog{id: catalog; name: "cura"}
|
||||||
|
|
||||||
|
@ -45,22 +46,24 @@ UM.Dialog
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
|
leftPadding: UM.Theme.getSize("narrow_margin").width
|
||||||
|
|
||||||
Image
|
Image
|
||||||
{
|
{
|
||||||
id: icon
|
id: icon
|
||||||
width: 30 * screenScaleFactor
|
width: 30 * screenScaleFactor
|
||||||
height: width
|
height: width
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
source: licenseModel.iconUrl || "../../images/logobot.svg"
|
source: licenseModel.iconUrl || "../../images/logobot.svg"
|
||||||
mipmap: true
|
mipmap: true
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: packageName
|
id: packageName
|
||||||
text: licenseModel.packageName
|
text: licenseModel.packageName
|
||||||
|
font.bold: true
|
||||||
anchors.verticalCenter: icon.verticalCenter
|
anchors.verticalCenter: icon.verticalCenter
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue