浏览代码

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 年之前
父节点
当前提交
a3c2fb13a8
共有 1 个文件被更改,包括 3 次插入0 次删除
  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
     }