mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Fix QML warnings
This commit is contained in:
parent
46e7a6665d
commit
ca8b7bb1da
3 changed files with 7 additions and 7 deletions
|
@ -9,7 +9,7 @@ import UM 1.1 as UM
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: page
|
id: page
|
||||||
property var details: base.selection
|
property var details: base.selection || {}
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
ToolboxBackColumn
|
ToolboxBackColumn
|
||||||
{
|
{
|
||||||
|
@ -54,7 +54,7 @@ Item
|
||||||
rightMargin: UM.Theme.getSize("wide_margin").width
|
rightMargin: UM.Theme.getSize("wide_margin").width
|
||||||
bottomMargin: UM.Theme.getSize("default_margin").height
|
bottomMargin: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
text: details.name
|
text: details.name || ""
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
@ -63,7 +63,7 @@ Item
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: description
|
id: description
|
||||||
text: details.description
|
text: details.description || ""
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
top: title.bottom
|
top: title.bottom
|
||||||
|
|
|
@ -9,7 +9,7 @@ import UM 1.1 as UM
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: page
|
id: page
|
||||||
property var details: base.selection
|
property var details: base.selection || {}
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
width: parent.width
|
width: parent.width
|
||||||
ToolboxBackColumn
|
ToolboxBackColumn
|
||||||
|
@ -55,7 +55,7 @@ Item
|
||||||
rightMargin: UM.Theme.getSize("wide_margin").width
|
rightMargin: UM.Theme.getSize("wide_margin").width
|
||||||
bottomMargin: UM.Theme.getSize("default_margin").height
|
bottomMargin: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
text: details.name
|
text: details.name || ""
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
@ -106,7 +106,7 @@ Item
|
||||||
spacing: Math.floor(UM.Theme.getSize("narrow_margin").height)
|
spacing: Math.floor(UM.Theme.getSize("narrow_margin").height)
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: details.version
|
text: details.version || ""
|
||||||
font: UM.Theme.getFont("very_small")
|
font: UM.Theme.getFont("very_small")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ UM.Dialog
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
readOnly: true
|
readOnly: true
|
||||||
text: licenseDialog.licenseContent
|
text: licenseDialog.licenseContent || ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rightButtons:
|
rightButtons:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue