Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
a3c2fb13a8
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  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
     }