Index: sources/gui/qml/components/CloseButton.qml =================================================================== diff -u -r9048646630717f980a852df54349805ba63773e0 -rb12853c86ef9e517667516dc3e47bca07349cedf --- sources/gui/qml/components/CloseButton.qml (.../CloseButton.qml) (revision 9048646630717f980a852df54349805ba63773e0) +++ sources/gui/qml/components/CloseButton.qml (.../CloseButton.qml) (revision b12853c86ef9e517667516dc3e47bca07349cedf) @@ -19,13 +19,11 @@ // Project import "qrc:/globals" -Rectangle { id : _root +Item { id : _root signal clicked() - width : 50 - height : 50 - color : "transparent" - opacity : 1 + width : Variables.iconsDiameter + height : Variables.iconsDiameter anchors { top : parent.top @@ -34,9 +32,8 @@ } Image { id : _image source : "qrc:/images/iClose" - width : Variables.iconsDiameter - height : Variables.iconsDiameter - anchors.centerIn: parent + fillMode: Image.PreserveAspectFit + anchors.fill: parent } MouseArea { anchors.fill: parent