Use different height setting
This commit is contained in:
parent
5bed3684ec
commit
9d3d85c5c2
@ -26,10 +26,12 @@ Rectangle {
|
|||||||
|
|
||||||
color: Nheko.theme.error
|
color: Nheko.theme.error
|
||||||
visible: !TimelineManager.isConnected
|
visible: !TimelineManager.isConnected
|
||||||
Layout.preferredHeight: fontMetrics.height + Nheko.paddingMedium
|
Layout.preferredHeight: offlineLabel.height + Nheko.paddingMedium
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
id: offlineLabel
|
||||||
|
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: qsTr("No network connection")
|
text: qsTr("No network connection")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user