فهرست منبع

Moved the vertical scale labels slightly up

Malte Veerman 7 سال پیش
والد
کامیت
50deba430e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      import/qml/FanItem.qml

+ 1 - 1
import/qml/FanItem.qml

@@ -132,7 +132,7 @@ Rectangle {
 
 
                 Label {
                 Label {
                     x: verticalScala.width - implicitWidth - graph.fontSize / 3
                     x: verticalScala.width - implicitWidth - graph.fontSize / 3
-                    y: background.height - background.height / (graph.verticalScalaCount - 1) * index - graph.fontSize / 2
+                    y: background.height - background.height / (graph.verticalScalaCount - 1) * index - graph.fontSize * 2 / 3
                     horizontalAlignment: Text.AlignRight
                     horizontalAlignment: Text.AlignRight
                     color: graph.pal.text
                     color: graph.pal.text
                     text: i18n("%1\%", index * (100 / (graph.verticalScalaCount - 1)))
                     text: i18n("%1\%", index * (100 / (graph.verticalScalaCount - 1)))