mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:59:00 +08:00
Fix some minor display issues for simulation view
CURA-5785
This commit is contained in:
parent
7a8522ce72
commit
bf8a04fa40
@ -40,7 +40,6 @@ Cura.ExpandableComponent
|
|||||||
id: layerViewTypesLabel
|
id: layerViewTypesLabel
|
||||||
text: catalog.i18nc("@label", "Color scheme")
|
text: catalog.i18nc("@label", "Color scheme")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
visible: !UM.SimulationView.compatibilityMode
|
|
||||||
color: UM.Theme.getColor("setting_control_text")
|
color: UM.Theme.getColor("setting_control_text")
|
||||||
height: base.height
|
height: base.height
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
@ -273,6 +272,7 @@ Cura.ExpandableComponent
|
|||||||
text: catalog.i18nc("@label", "Only Show Top Layers")
|
text: catalog.i18nc("@label", "Only Show Top Layers")
|
||||||
visible: UM.SimulationView.compatibilityMode
|
visible: UM.SimulationView.compatibilityMode
|
||||||
style: UM.Theme.styles.checkbox
|
style: UM.Theme.styles.checkbox
|
||||||
|
width: parent.width
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBox
|
CheckBox
|
||||||
@ -280,6 +280,7 @@ Cura.ExpandableComponent
|
|||||||
checked: viewSettings.top_layer_count == 5
|
checked: viewSettings.top_layer_count == 5
|
||||||
onClicked: UM.Preferences.setValue("view/top_layer_count", checked ? 5 : 1)
|
onClicked: UM.Preferences.setValue("view/top_layer_count", checked ? 5 : 1)
|
||||||
text: catalog.i18nc("@label", "Show 5 Detailed Layers On Top")
|
text: catalog.i18nc("@label", "Show 5 Detailed Layers On Top")
|
||||||
|
width: parent.width
|
||||||
visible: UM.SimulationView.compatibilityMode
|
visible: UM.SimulationView.compatibilityMode
|
||||||
style: UM.Theme.styles.checkbox
|
style: UM.Theme.styles.checkbox
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user