Use different height setting

This commit is contained in:
Loren Burkholder 2022-02-03 18:31:29 -05:00
parent 5bed3684ec
commit 9d3d85c5c2

View file

@ -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")
}