mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Modify the header in the simulation view menu component
This is needed to align with the designs.
This commit is contained in:
parent
3593b7f152
commit
faa3f42acc
2 changed files with 32 additions and 10 deletions
|
@ -35,14 +35,36 @@ Cura.ExpandableComponent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
headerItem: Label
|
headerItem: Item
|
||||||
{
|
{
|
||||||
id: layerViewTypesLabel
|
Label
|
||||||
|
{
|
||||||
|
id: colorSchemeLabel
|
||||||
text: catalog.i18nc("@label", "Color scheme")
|
text: catalog.i18nc("@label", "Color scheme")
|
||||||
font: UM.Theme.getFont("default")
|
|
||||||
color: UM.Theme.getColor("setting_control_text")
|
|
||||||
height: base.height
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
height: parent.height
|
||||||
|
elide: Text.ElideRight
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("text_medium")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: layerTypeCombobox.currentText
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
left: colorSchemeLabel.right
|
||||||
|
leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
right: parent.right
|
||||||
|
}
|
||||||
|
height: parent.height
|
||||||
|
elide: Text.ElideRight
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: Column
|
contentItem: Column
|
||||||
|
@ -136,7 +158,7 @@ Cura.ExpandableComponent
|
||||||
|
|
||||||
Item // Spacer
|
Item // Spacer
|
||||||
{
|
{
|
||||||
height: Math.round(UM.Theme.getSize("default_margin").width / 2)
|
height: UM.Theme.getSize("narrow_margin").width
|
||||||
width: width
|
width: width
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ Cura.ExpandablePopup
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: title
|
id: title
|
||||||
text: catalog.i18nc("@button", "View types")
|
text: catalog.i18nc("@label", "View types")
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
height: parent.height
|
height: parent.height
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue