diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2023-02-20 15:38:27 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2023-02-20 14:43:21 +0000 |
commit | 531580894e4f4656e796ba189498e23757f5370f (patch) | |
tree | bca40cc2faf91ab762088a868dfb11af9e72086d | |
parent | f5f5628b75a475b24cffcd17faa68c48629345c5 (diff) | |
download | qt-creator-531580894e4f4656e796ba189498e23757f5370f.tar.gz |
QmlDesigner: Add Workspace label to workspace combobox
(cherry picked from commit b70139fd84eacf173d5489692496b587795f85e6)
Change-Id: I00b5aead6e0f747229a360e6573b8bcb0c8e8260
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | share/qtcreator/qmldesigner/toolbar/Main.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/toolbar/Main.qml b/share/qtcreator/qmldesigner/toolbar/Main.qml index 82a3b63664..8579c21a0b 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 { |