Fix some minor display issues for simulation view

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-22 11:08:46 +01:00
parent 7a8522ce72
commit bf8a04fa40

View file

@ -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
} }