mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 11:06:01 +08:00
Merge pull request #10330 from Ultimaker/CURA-8496_Fix_long_material_names_overlappint_with_icon
CURA-8496: Fix showing only the material type after resizing Cura's window
This commit is contained in:
commit
50c11e5fdf
@ -60,7 +60,7 @@ Cura.ExpandablePopup
|
|||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout
|
Column
|
||||||
{
|
{
|
||||||
opacity: model.enabled ? 1 : UM.Theme.getColor("extruder_disabled").a
|
opacity: model.enabled ? 1 : UM.Theme.getColor("extruder_disabled").a
|
||||||
spacing: 0
|
spacing: 0
|
||||||
@ -83,7 +83,7 @@ Cura.ExpandablePopup
|
|||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
Layout.preferredWidth: parent.width
|
width: parent.width
|
||||||
visible: !truncated
|
visible: !truncated
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ Cura.ExpandablePopup
|
|||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
Layout.preferredWidth: parent.width
|
width: parent.width
|
||||||
visible: !materialBrandColorTypeLabel.visible && !truncated
|
visible: !materialBrandColorTypeLabel.visible && !truncated
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ Cura.ExpandablePopup
|
|||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
Layout.preferredWidth: parent.width
|
width: parent.width
|
||||||
visible: !materialBrandColorTypeLabel.visible && !materialColorTypeLabel.visible
|
visible: !materialBrandColorTypeLabel.visible && !materialColorTypeLabel.visible
|
||||||
}
|
}
|
||||||
// Label that shows the name of the variant
|
// Label that shows the name of the variant
|
||||||
|
Loading…
x
Reference in New Issue
Block a user