From bf06497f9e05492eb5d1024dfede7c13ac8bb65f Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 4 Jan 2026 10:36:03 +0100 Subject: [PATCH] weatherpopup: remove useless layouts --- .../modules/ii/bar/weather/WeatherPopup.qml | 33 ++++--------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/ii/bar/weather/WeatherPopup.qml b/dots/.config/quickshell/ii/modules/ii/bar/weather/WeatherPopup.qml index f07f27c38..5b00b4590 100644 --- a/dots/.config/quickshell/ii/modules/ii/bar/weather/WeatherPopup.qml +++ b/dots/.config/quickshell/ii/modules/ii/bar/weather/WeatherPopup.qml @@ -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 } } }