mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:35:58 +08:00
Fix spacing between extruders in selector card
CURA-9278
This commit is contained in:
parent
b7fd75b2dd
commit
681d33de81
@ -50,7 +50,7 @@ Rectangle
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredWidth: parent.width / 2
|
Layout.preferredWidth: parent.width / 2
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
spacing: UM.Theme.getSize("default_margin").width
|
spacing: UM.Theme.getSize("narrow_margin").width
|
||||||
|
|
||||||
Repeater
|
Repeater
|
||||||
{
|
{
|
||||||
@ -88,7 +88,6 @@ Rectangle
|
|||||||
text: modelData.materials.length == 1 ? `${modelData.materials[0].brand} ${modelData.materials[0].name}` : ""
|
text: modelData.materials.length == 1 ? `${modelData.materials[0].brand} ${modelData.materials[0].name}` : ""
|
||||||
visible: modelData.materials.length == 1
|
visible: modelData.materials.length == 1
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout
|
ColumnLayout
|
||||||
{
|
{
|
||||||
id: multiMaterialText
|
id: multiMaterialText
|
||||||
@ -98,7 +97,7 @@ Rectangle
|
|||||||
visible: modelData.materials.length > 1
|
visible: modelData.materials.length > 1
|
||||||
Repeater
|
Repeater
|
||||||
{
|
{
|
||||||
model: modelData.materials
|
model: modelData.materials.length > 1 ? modelData.materials: null
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
text: `${modelData.brand} ${modelData.name}`
|
text: `${modelData.brand} ${modelData.name}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user