Index: sources/gui/qml/components/UpDownButton.qml =================================================================== diff -u -r45ce6e781782be5de1480a1e7acecd1d272bcc84 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/UpDownButton.qml (.../UpDownButton.qml) (revision 45ce6e781782be5de1480a1e7acecd1d272bcc84) +++ sources/gui/qml/components/UpDownButton.qml (.../UpDownButton.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file UpDownButton.qml * \author (last) Behrouz NematiPour - * \date (last) 09-Dec-2020 + * \date (last) 13-Jun-2021 * \author (original) Behrouz NematiPour * \date (original) 09-Dec-2020 * @@ -21,17 +21,18 @@ TouchRect { id : _root property bool isUp : false + property bool isList: false height: 45 width : height - color : Colors.transparent + backgroundColor: Colors.transparent borderColor : Colors.white Image { id: _image anchors.centerIn: parent - height : 25 - width : 25 - source : _root.isUp ? "qrc:/images/iChevronUp" : "qrc:/images/iChevronDown" + height : Variables.iconsDiameter + width : Variables.iconsDiameter + source : _root.isList ? "qrc:/images/iList" : _root.isUp ? "qrc:/images/iChevronUp" : "qrc:/images/iChevronDown" } }