QmlDesigner: Add Workspace label to workspace combobox

Change-Id: I00b5aead6e0f747229a360e6573b8bcb0c8e8260
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2023-02-20 15:38:27 +01:00
parent e549ad4d01
commit b70139fd84

View File

@@ -241,6 +241,16 @@ Rectangle {
visible: !root.flyoutEnabled visible: !root.flyoutEnabled
onActivated: backend.setCurrentWorkspace(workspaces.currentText) 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 { ToolbarButton {
@@ -254,6 +264,7 @@ Rectangle {
//visible: !root.flyoutEnabled //visible: !root.flyoutEnabled
onClicked: backend.editGlobalAnnoation() onClicked: backend.editGlobalAnnoation()
width: 0
} }
ToolbarButton { ToolbarButton {