weatherpopup: remove useless layouts

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