From cfd7dec04dce855910fe39a638d24974da6c00b7 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Tue, 9 Sep 2025 09:13:27 -0400 Subject: [PATCH] WeatherCard: Vertical centering of icons --- Modules/SidePanel/Cards/WeatherCard.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/SidePanel/Cards/WeatherCard.qml b/Modules/SidePanel/Cards/WeatherCard.qml index baa04c8..63c7b47 100644 --- a/Modules/SidePanel/Cards/WeatherCard.qml +++ b/Modules/SidePanel/Cards/WeatherCard.qml @@ -27,6 +27,7 @@ NBox { RowLayout { spacing: Style.marginS * scaling NIcon { + Layout.alignment: Qt.AlignVCenter icon: weatherReady ? LocationService.weatherSymbolFromCode( LocationService.data.weather.current_weather.weathercode) : "" font.pointSize: Style.fontSizeXXXL * 1.75 * scaling @@ -98,6 +99,7 @@ NBox { color: Color.mOnSurface } NIcon { + Layout.alignment: Qt.AlignVCenter icon: LocationService.weatherSymbolFromCode(LocationService.data.weather.daily.weathercode[index]) font.pointSize: Style.fontSizeXXL * scaling color: Color.mPrimary @@ -128,4 +130,4 @@ NBox { NBusyIndicator {} } } -} +} \ No newline at end of file