QmlDesigner: Center the add new state button plus sign

Fixes: QDS-6399
Change-Id: I8ed23363fbe8bc09fe8e6825dce096fcc664f6bb
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2022-03-18 11:08:32 +02:00
parent 9e3945e45f
commit ce8c578b20

View File

@@ -161,7 +161,7 @@ FocusScope {
Text {
text: "+"
anchors.centerIn: parent
anchors.verticalCenterOffset: -5
anchors.verticalCenterOffset: -16
font.pixelSize: parent.height * .5
color: Qt.lighter(StudioTheme.Values.themeControlBackgroundInteraction, addState.containsMouse ? 1.5 : 1)
}