diff --git a/plugins/Toolbox/resources/qml/pages/ToolboxInstalledPage.qml b/plugins/Toolbox/resources/qml/pages/ToolboxInstalledPage.qml index 33a98f66ed..48620d5def 100644 --- a/plugins/Toolbox/resources/qml/pages/ToolboxInstalledPage.qml +++ b/plugins/Toolbox/resources/qml/pages/ToolboxInstalledPage.qml @@ -30,11 +30,10 @@ ScrollView right: parent.right margins: parent.padding } - text: catalog.i18nc("@title:tab", "My installed plugins") + text: catalog.i18nc("@title:tab", "Installed plugins") color: UM.Theme.getColor("text_medium") font: UM.Theme.getFont("medium") renderType: Text.NativeRendering - visible: toolbox.pluginsInstalledModel.count > 0 } Rectangle @@ -50,7 +49,6 @@ ScrollView height: childrenRect.height + UM.Theme.getSize("default_margin").width border.color: UM.Theme.getColor("lining") border.width: UM.Theme.getSize("default_lining").width - visible: toolbox.pluginsInstalledModel.count > 0 Column { anchors @@ -64,9 +62,17 @@ ScrollView { id: pluginList model: toolbox.pluginsInstalledModel - delegate: ToolboxInstalledTile { visible: ! model.is_bundled } + delegate: ToolboxInstalledTile { } } } + Label + { + visible: toolbox.pluginsInstalledModel.count < 1 + padding: UM.Theme.getSize("default_margin").width + text: catalog.i18nc("@info", "No plugin has been installed.") + font: UM.Theme.getFont("medium") + renderType: Text.NativeRendering + } } Label @@ -77,11 +83,10 @@ ScrollView right: parent.right margins: parent.padding } - text: catalog.i18nc("@title:tab", "My installed materials") + text: catalog.i18nc("@title:tab", "Installed materials") color: UM.Theme.getColor("text_medium") font: UM.Theme.getFont("medium") renderType: Text.NativeRendering - visible: toolbox.materialsInstalledModel.count > 0 } Rectangle @@ -97,7 +102,6 @@ ScrollView height: childrenRect.height + UM.Theme.getSize("default_margin").width border.color: UM.Theme.getColor("lining") border.width: UM.Theme.getSize("default_lining").width - visible: toolbox.materialsInstalledModel.count > 0 Column { anchors @@ -114,6 +118,14 @@ ScrollView delegate: ToolboxInstalledTile { } } } + Label + { + visible: toolbox.materialsInstalledModel.count < 1 + padding: UM.Theme.getSize("default_margin").width + text: catalog.i18nc("@info", "No material has been installed.") + font: UM.Theme.getFont("medium") + renderType: Text.NativeRendering + } } Label