Index: sources/gui/qml/pages/treatment/TreatmentSectionIcon.qml =================================================================== diff -u -r26af78da75502c56dcff8ad402e63d64a496f341 -r7805806e4370be4d9207872e916f478875bd4ba6 --- sources/gui/qml/pages/treatment/TreatmentSectionIcon.qml (.../TreatmentSectionIcon.qml) (revision 26af78da75502c56dcff8ad402e63d64a496f341) +++ sources/gui/qml/pages/treatment/TreatmentSectionIcon.qml (.../TreatmentSectionIcon.qml) (revision 7805806e4370be4d9207872e916f478875bd4ba6) @@ -20,15 +20,16 @@ import "qrc:/components" TouchRect { id : _icon - property alias iconImage : _iconImage + property alias iconImage : _iconImage + property int iconSize : Variables.treatmentSectionIconSize - width : Variables.treatmentSectionIconSize - height : Variables.treatmentSectionIconSize + width : iconSize + height : iconSize border.color: "transparent" Image { id : _iconImage - height : Variables.treatmentSectionIconSize - width : Variables.treatmentSectionIconSize + height : iconSize + width : iconSize fillMode: Image.PreserveAspectFit source : "" }