Jelajahi Sumber

Wrap long lines on the left part of the debug overly

Don't do it on the right, because the long media URL will push parts of
the debug info down the bottom border of the screen.
Vincent Lang 9 tahun lalu
induk
melakukan
a3c2fb13a8
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      src/ui/webview.qml

+ 3 - 0
src/ui/webview.qml

@@ -146,6 +146,7 @@ KonvergoWindow
       anchors.bottomMargin: 54
       color: "white"
       font.pixelSize: width / 45
+      wrapMode: Text.WrapAnywhere
 
       function windowDebug()
       {
@@ -166,12 +167,14 @@ KonvergoWindow
       width: (parent.width - 50) / 2
       height: parent.height - 25
       anchors.right: parent.right
+      anchors.left: debugLabel.right
       anchors.rightMargin: 64
       anchors.top: parent.top
       anchors.topMargin: 54
       anchors.bottomMargin: 54
       color: "white"
       font.pixelSize: width / 45
+      wrapMode: Text.NoWrap
 
       text: mainWindow.videoInfo
     }