From b70139fd84eacf173d5489692496b587795f85e6 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 20 Feb 2023 15:38:27 +0100 Subject: [PATCH] QmlDesigner: Add Workspace label to workspace combobox Change-Id: I00b5aead6e0f747229a360e6573b8bcb0c8e8260 Reviewed-by: Brook Cronin Reviewed-by: Thomas Hartmann --- share/qtcreator/qmldesigner/toolbar/Main.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/share/qtcreator/qmldesigner/toolbar/Main.qml b/share/qtcreator/qmldesigner/toolbar/Main.qml index 82a3b636642..8579c21a0b6 100644 --- a/share/qtcreator/qmldesigner/toolbar/Main.qml +++ b/share/qtcreator/qmldesigner/toolbar/Main.qml @@ -241,6 +241,16 @@ Rectangle { visible: !root.flyoutEnabled onActivated: backend.setCurrentWorkspace(workspaces.currentText) + Text { + z: 20 + x: workspaces.contentItem.implicitWidth + + text: qsTr("Workspace") + font: workspaces.font + anchors.verticalCenter: parent.verticalCenter + + color: workspaces.contentItem.color + } } ToolbarButton { @@ -254,6 +264,7 @@ Rectangle { //visible: !root.flyoutEnabled onClicked: backend.editGlobalAnnoation() + width: 0 } ToolbarButton {