summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Fedoskin <afedoskin3@gmail.com>2016-11-01 19:11:53 (GMT)
committerArtem Fedoskin <afedoskin3@gmail.com>2016-11-01 19:11:53 (GMT)
commit3b3e27ea8c377f96d1cc95b15fb7abe0d3843dcf (patch)
treefcc512e18673cc5f326f0e966b8e809b5377dba6
parentad7de0d6e37d6e740c864bcb4cd81256ddbca0df (diff)
KStars Lite - Fix size of icons in top drawer
-rw-r--r--kstars/kstarslite/qml/modules/helpers/TopMenuButton.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/kstarslite/qml/modules/helpers/TopMenuButton.qml b/kstars/kstarslite/qml/modules/helpers/TopMenuButton.qml
index 8a1b2bf..ffbccaf 100644
--- a/kstars/kstarslite/qml/modules/helpers/TopMenuButton.qml
+++ b/kstars/kstarslite/qml/modules/helpers/TopMenuButton.qml
@@ -64,8 +64,8 @@ AbstractButton {
Image {
id: icon
source: iconSrc
- width: sourceSize.width
- height: sourceSize.height
+ width: sourceSize.width/num.pixelRatio //FIX /num.pixelRatio we don't need it here!
+ height: sourceSize.height/num.pixelRatio
anchors.centerIn: iconRect
}