Index: sources/gui/qml/components/ArrowButton.qml =================================================================== diff -u -rd70b0372a4457f36abedd3034f237d6e0cafa111 -rc749ecd5dc413ce091250af652ccba4d96f7a582 --- sources/gui/qml/components/ArrowButton.qml (.../ArrowButton.qml) (revision d70b0372a4457f36abedd3034f237d6e0cafa111) +++ sources/gui/qml/components/ArrowButton.qml (.../ArrowButton.qml) (revision c749ecd5dc413ce091250af652ccba4d96f7a582) @@ -13,11 +13,11 @@ property bool rightArrow : false property bool expandingArrow: false - property string iconImage : upArrow ? "qrc:/images/iChevronUp" : - downArrow ? "qrc:/images/iChevronDown" : - leftArrow ? "qrc:/images/iChevronLeft" : - rightArrow ? "qrc:/images/iChevronRight" : - expandingArrow ? "qrc:/images/iArrowsExpanding" : + property string iconImage : upArrow ? enabled ? "qrc:/images/iChevronUp" : "qrc:/images/iArrowUpDisabled" : + downArrow ? enabled ? "qrc:/images/iChevronDown" : "qrc:/images/iArrowDownDisabled" : + leftArrow ? enabled ? "qrc:/images/iChevronLeft" : "qrc:/images/iArrowLeftDisabled" : + rightArrow ? enabled ? "qrc:/images/iChevronRight" : "qrc:/images/iArrowRightDisabled" : + expandingArrow ? "qrc:/images/iArrowsExpanding" : "" property int iconSize : Variables.arrowIconDiameter @@ -29,9 +29,6 @@ Image { id : _iconImage anchors.centerIn: parent - anchors.verticalCenterOffset: upArrow ? -3 : - downArrow ? 3 : - 0 height : iconSize width : iconSize fillMode : Image.PreserveAspectFit