mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 16:54:23 +08:00
Add width to labels in printcore qml object.
This ensures that the elide works correctly CL-896
This commit is contained in:
parent
cd6832544b
commit
7096c7382b
@ -69,6 +69,7 @@ Item
|
|||||||
}
|
}
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("default_bold")
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
width: parent.width
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -84,7 +85,7 @@ Item
|
|||||||
}
|
}
|
||||||
anchors.top: materialLabel.bottom
|
anchors.top: materialLabel.bottom
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
width: parent.width
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
}
|
}
|
||||||
|
@ -351,7 +351,7 @@ Item
|
|||||||
PrintCoreConfiguration
|
PrintCoreConfiguration
|
||||||
{
|
{
|
||||||
id: leftExtruderInfo
|
id: leftExtruderInfo
|
||||||
width: Math.round(parent.width / 2)
|
width: Math.round(parent.width / 2)
|
||||||
printCoreConfiguration: printJob.configuration.extruderConfigurations[0]
|
printCoreConfiguration: printJob.configuration.extruderConfigurations[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user