Index: sources/gui/qml/pages/treatment/sections/TreatmentFlowsComponent.qml =================================================================== diff -u -r21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99 -r36a488a3d29449ffedfe364d0031ed74d03c0ae0 --- sources/gui/qml/pages/treatment/sections/TreatmentFlowsComponent.qml (.../TreatmentFlowsComponent.qml) (revision 21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99) +++ sources/gui/qml/pages/treatment/sections/TreatmentFlowsComponent.qml (.../TreatmentFlowsComponent.qml) (revision 36a488a3d29449ffedfe364d0031ed74d03c0ae0) @@ -19,7 +19,6 @@ property bool showButtons : true property bool buttonsEnabled : true - property int iconSize : 70 property bool dropShadowEnabled : true color : Colors.mainTreatmentLighterBlue @@ -78,24 +77,22 @@ objectName: "column" visible: showButtons - spacing: Variables.defaultMargin + spacing: Variables.defaultMargin * 2.5 - TreatmentSectionIcon { id : _upArrowIcon - objectName : "upArrowIcon" - enabled : buttonsEnabled - iconSize : _root.iconSize - iconImage.source : enabled ? "qrc:/images/iArrowUpActive" : - "qrc:/images/iArrowUpInactive" - onClicked : _root.increment() + ArrowButton {id : _upArrowIcon + objectName : "upArrowIcon" + upArrow : true + enabled : buttonsEnabled + + onClicked : _root.increment() } - TreatmentSectionIcon { id : _downArrowIcon - objectName : "downArrowIcon" - enabled : buttonsEnabled - iconSize : _root.iconSize - iconImage.source : enabled ? "qrc:/images/iArrowDownActive" : - "qrc:/images/iArrowDownInactive" - onClicked : _root.decrement() + ArrowButton {id : _downArrowIcon + objectName : "downArrowIcon" + downArrow : true + enabled : buttonsEnabled + + onClicked : _root.decrement() } } }