X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmdictionary%2Fqml%2FIconButton.qml;h=9be44f15c7d53b098bb43cb35b5a0ebdd0583894;hb=fb64d83f050727c295f5222191a0a0a64479346f;hp=19d3d70db049749390779c438befcefb6ce49cb2;hpb=7a3d96790942a3d5a214de7073cd2bf725788391;p=mdictionary diff --git a/src/mdictionary/qml/IconButton.qml b/src/mdictionary/qml/IconButton.qml index 19d3d70..9be44f1 100644 --- a/src/mdictionary/qml/IconButton.qml +++ b/src/mdictionary/qml/IconButton.qml @@ -4,10 +4,12 @@ Rectangle { id: rectangle property alias pathToIcon: image.source; - property int iconWidth:rectangle.width; - property int iconHeight:rectangle.height; + property int iconWidth:rectangle.width-8; + property int iconHeight:rectangle.height-8; signal clicked; + function press() { mouseArea.pressed } + radius: 50 MouseArea {