Преглед на файлове

Adjust debug overlay margins

Use 64 for left/right margin and 54 for top/bottom.

Fixes #34
Tobias Hieta преди 9 години
родител
ревизия
6fe01e8a30
променени са 1 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 6 4
      src/ui/webview.qml

+ 6 - 4
src/ui/webview.qml

@@ -118,9 +118,10 @@ KonvergoWindow
       width: (parent.width - 50) / 2
       height: parent.height - 25
       anchors.left: parent.left
-      anchors.leftMargin: 25
+      anchors.leftMargin: 64
       anchors.top: parent.top
-      anchors.topMargin: 10
+      anchors.topMargin: 54
+      anchors.bottomMargin: 54
       color: "white"
       font.pixelSize: width / 45
 
@@ -133,9 +134,10 @@ KonvergoWindow
       width: (parent.width - 50) / 2
       height: parent.height - 25
       anchors.right: parent.right
-      anchors.rightMargin: 25
+      anchors.rightMargin: 64
       anchors.top: parent.top
-      anchors.topMargin: 10
+      anchors.topMargin: 54
+      anchors.bottomMargin: 54
       color: "white"
       font.pixelSize: width / 45