diff --git a/ui/qml/Main.qml b/ui/qml/Main.qml index c35e872..aa9bb99 100644 --- a/ui/qml/Main.qml +++ b/ui/qml/Main.qml @@ -246,12 +246,17 @@ ApplicationWindow { Label { anchors.centerIn: parent + width: Math.min(parent.width - root.baseFontSize * 4, + root.baseFontSize * 30) visible: root.currentDoc === "" text: orkClient.connected ? qsTr("Select a document") : qsTr("Not connected: %1").arg(orkClient.error) color: theme.placeholderTextColor font.pointSize: root.baseFontSize + 1 + horizontalAlignment: Text.AlignHCenter + wrapMode: Text.WordWrap + lineHeight: 1.3 } } }