diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2022-02-03 18:31:29 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2022-02-03 18:31:29 -0500 |
commit | 9d3d85c5c2b2e9e4ad7549d3deffa3278c9dfa7a (patch) | |
tree | e74e1ceeb8ebe73870c4508a679efbef48260dec | |
parent | Add offline indicator (#472) (diff) | |
download | nheko-9d3d85c5c2b2e9e4ad7549d3deffa3278c9dfa7a.tar.xz |
Use different height setting
-rw-r--r-- | resources/qml/ChatPage.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/ChatPage.qml b/resources/qml/ChatPage.qml index bd60bdab..7cc6552a 100644 --- a/resources/qml/ChatPage.qml +++ b/resources/qml/ChatPage.qml @@ -26,10 +26,12 @@ Rectangle { color: Nheko.theme.error visible: !TimelineManager.isConnected - Layout.preferredHeight: fontMetrics.height + Nheko.paddingMedium + Layout.preferredHeight: offlineLabel.height + Nheko.paddingMedium Layout.fillWidth: true Label { + id: offlineLabel + anchors.centerIn: parent text: qsTr("No network connection") } |