weatherpopup: remove useless layouts

This commit is contained in:
end-4
2026-01-04 10:36:03 +01:00
parent 14c930d48c
commit bf06497f9e
@@ -101,34 +101,15 @@ StyledPopup {
}
}
// Footer
ColumnLayout {
id: footer
// Footer: last refresh
StyledText {
Layout.alignment: Qt.AlignHCenter
spacing: 2
RowLayout {
Layout.alignment: Qt.AlignHCenter
spacing: 6
StyledText {
text: "Last Refresh:"
font {
weight: Font.Medium
pixelSize: Appearance.font.pixelSize.smaller
}
color: Appearance.colors.colOnSurfaceVariant
}
StyledText {
text: Weather.data.lastRefresh
font {
weight: Font.Medium
pixelSize: Appearance.font.pixelSize.smaller
}
color: Appearance.colors.colOnSurfaceVariant
}
text: Translation.tr("Last refresh: %1").arg(Weather.data.lastRefresh)
font {
weight: Font.Medium
pixelSize: Appearance.font.pixelSize.smaller
}
color: Appearance.colors.colOnSurfaceVariant
}
}
}