Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-09-16 15:29:34 +0300
committerJaime van Kessel <nallath@gmail.com>2022-09-16 15:29:34 +0300
commit681d33de817ea8387f22807025695e826316249a (patch)
tree4339735c3492bbd4f743973994f421c9668e55ee /resources
parentb7fd75b2dd202f2516f9188e342eccc8a15ae6ab (diff)
Fix spacing between extruders in selector card
CURA-9278
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/PrinterSelector/PrintSelectorCard.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/PrinterSelector/PrintSelectorCard.qml b/resources/qml/PrinterSelector/PrintSelectorCard.qml
index 517a0e164a..e1fab02db4 100644
--- a/resources/qml/PrinterSelector/PrintSelectorCard.qml
+++ b/resources/qml/PrinterSelector/PrintSelectorCard.qml
@@ -50,7 +50,7 @@ Rectangle
Layout.fillWidth: true
Layout.preferredWidth: parent.width / 2
Layout.alignment: Qt.AlignTop
- spacing: UM.Theme.getSize("default_margin").width
+ spacing: UM.Theme.getSize("narrow_margin").width
Repeater
{
@@ -88,7 +88,6 @@ Rectangle
text: modelData.materials.length == 1 ? `${modelData.materials[0].brand} ${modelData.materials[0].name}` : ""
visible: modelData.materials.length == 1
}
-
ColumnLayout
{
id: multiMaterialText
@@ -98,7 +97,7 @@ Rectangle
visible: modelData.materials.length > 1
Repeater
{
- model: modelData.materials
+ model: modelData.materials.length > 1 ? modelData.materials: null
UM.Label
{
text: `${modelData.brand} ${modelData.name}`