From 8b7aee166480496db98d9896aebefa4fc1a60cc2 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Mon, 27 Feb 2017 14:16:56 +0100 Subject: [PATCH] Adjusted menu, added View Mode: Layers. CURA-3321 --- plugins/LayerView/LayerView.qml | 13 ++++++++++++- resources/themes/cura/theme.json | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/plugins/LayerView/LayerView.qml b/plugins/LayerView/LayerView.qml index 107cd8f0a1..95e0fe61a1 100644 --- a/plugins/LayerView/LayerView.qml +++ b/plugins/LayerView/LayerView.qml @@ -25,11 +25,22 @@ Item Label { - id: layerViewTypesLabel + id: layersLabel anchors.top: parent.top anchors.topMargin: UM.Theme.getSize("default_margin").height anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("default_margin").width + text: catalog.i18nc("@label","View Mode: Layers") + font.bold: true + } + + Label + { + id: layerViewTypesLabel + anchors.top: layersLabel.bottom + anchors.topMargin: UM.Theme.getSize("default_margin").height + anchors.left: parent.left + anchors.leftMargin: UM.Theme.getSize("default_margin").width text: catalog.i18nc("@label","Color scheme") } diff --git a/resources/themes/cura/theme.json b/resources/themes/cura/theme.json index 7efb8e5907..0a6a131eb5 100644 --- a/resources/themes/cura/theme.json +++ b/resources/themes/cura/theme.json @@ -295,7 +295,7 @@ "slider_layerview_background": [4.0, 0.0], "slider_layerview_margin": [3.0, 3.0], - "layerview_menu_size": [11.0, 25.0], + "layerview_menu_size": [12.0, 25.0], "checkbox": [2.0, 2.0],