mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Use different height setting
This commit is contained in:
parent
5bed3684ec
commit
9d3d85c5c2
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue