forked from qt-creator/qt-creator
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user