forked from qt-creator/qt-creator
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:
@@ -161,7 +161,7 @@ FocusScope {
|
|||||||
Text {
|
Text {
|
||||||
text: "+"
|
text: "+"
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
anchors.verticalCenterOffset: -5
|
anchors.verticalCenterOffset: -16
|
||||||
font.pixelSize: parent.height * .5
|
font.pixelSize: parent.height * .5
|
||||||
color: Qt.lighter(StudioTheme.Values.themeControlBackgroundInteraction, addState.containsMouse ? 1.5 : 1)
|
color: Qt.lighter(StudioTheme.Values.themeControlBackgroundInteraction, addState.containsMouse ? 1.5 : 1)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user