mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-22 12:39:22 +08:00
Fix compatibility mode layout. CURA-3273
This commit is contained in:
parent
5a2aa8846b
commit
aa923321f8
@ -173,7 +173,7 @@ Item
|
|||||||
|
|
||||||
ComboBox
|
ComboBox
|
||||||
{
|
{
|
||||||
id: layer_type_combobox
|
id: layerTypeCombobox
|
||||||
anchors.top: slider_background.bottom
|
anchors.top: slider_background.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
model: layerViewTypes
|
model: layerViewTypes
|
||||||
@ -185,6 +185,7 @@ Item
|
|||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
id: compatibilityModeLabel
|
||||||
anchors.top: slider_background.bottom
|
anchors.top: slider_background.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
text: catalog.i18nc("@label","Compatibility mode")
|
text: catalog.i18nc("@label","Compatibility mode")
|
||||||
@ -193,7 +194,7 @@ Item
|
|||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: view_settings
|
id: view_settings
|
||||||
anchors.top: layer_type_combobox.bottom
|
anchors.top: UM.LayerView.compatibilityMode ? compatibilityModeLabel.bottom : layerTypeCombobox.bottom
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
x: UM.Theme.getSize("default_margin").width
|
x: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user