forked from qt-creator/qt-creator
QmlDesigner: Center the model editor's empty message
Change-Id: I2d26d2a89bdd822a4c9172bbe4b652be642a0d34 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Ali Kianian <ali.kianian@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -306,14 +306,11 @@ Rectangle {
|
||||
}
|
||||
|
||||
Text {
|
||||
anchors.fill: parent
|
||||
anchors.centerIn: parent
|
||||
text: qsTr("Select a model to continue")
|
||||
visible: !topRow.visible
|
||||
textFormat: Text.RichText
|
||||
color: StudioTheme.Values.themeTextColor
|
||||
font.pixelSize: StudioTheme.Values.mediumFontSize
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
|
||||
TextMetrics {
|
||||
|
Reference in New Issue
Block a user