From 22db20e9ebac5c99fd7860f45117c8c82a065e36 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Tue, 20 Dec 2022 15:48:17 +0100 Subject: [PATCH] IOT dashboard: Fix rooms page theming Resolves #231 --- examples/iotdashboard/Skin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/iotdashboard/Skin.cpp b/examples/iotdashboard/Skin.cpp index 9ecee0c3..a4212949 100644 --- a/examples/iotdashboard/Skin.cpp +++ b/examples/iotdashboard/Skin.cpp @@ -16,6 +16,7 @@ #include "LightDisplaySkinlet.h" #include "DashboardPage.h" #include "MenuBar.h" +#include "RoomsPage.h" #include "RoundedIcon.h" #include "RoundButton.h" #include "TopBar.h" @@ -242,6 +243,7 @@ void Skin::initHints( const Palette& palette ) // palette dependent skin hints: ed.setGradient( MenuBar::Panel, palette.menuBar ); ed.setGradient( DashboardPage::Panel, palette.mainContent ); + ed.setGradient( RoomsPage::Panel, palette.mainContent ); ed.setColor( Box::Panel, palette.box ); QskShadowMetrics shadowMetrics( 0, 10 );