From f9d60a11bf99a60963339b0998f81f419a0d3e78 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Wed, 7 Apr 2021 10:26:32 +0200 Subject: [PATCH] fix styles when switching between them --- examples/iot-dashboard/Skin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/iot-dashboard/Skin.cpp b/examples/iot-dashboard/Skin.cpp index 8650b154..33bdaa22 100644 --- a/examples/iot-dashboard/Skin.cpp +++ b/examples/iot-dashboard/Skin.cpp @@ -113,6 +113,7 @@ void Skin::initHints( const Palette& palette ) ed.setGradient( MenuBar::Panel, palette.menuBar ); ed.setGradient( MainContent::Panel, palette.mainContent ); ed.setGradient( Box::Panel, palette.box ); + ed.setGradient( BoxWithButtons::Panel, palette.box ); ed.setColor( LightDisplay::Panel, palette.lightDisplay ); ed.setColor( PieChartPainted::Panel, palette.pieChart ); ed.setGradient( RoundButton::Panel, palette.roundButton );