projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small change
[mdictionary]
/
src
/
mdictionary
/
qml
/
IconButton.qml
diff --git
a/src/mdictionary/qml/IconButton.qml
b/src/mdictionary/qml/IconButton.qml
index
19d3d70
..
9be44f1
100644
(file)
--- a/
src/mdictionary/qml/IconButton.qml
+++ b/
src/mdictionary/qml/IconButton.qml
@@
-4,10
+4,12
@@
Rectangle {
id: rectangle
property alias pathToIcon: image.source;
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;
signal clicked;
+ function press() { mouseArea.pressed }
+
radius: 50
MouseArea {
radius: 50
MouseArea {