From 857b494c47f3ee7cc628c918b4767c94a18de124 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 5 Oct 2016 22:33:14 +0200 Subject: [PATCH] CMsgBox: use same colors for window body, footer and button container --- src/gui/widget/msgbox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/widget/msgbox.cpp b/src/gui/widget/msgbox.cpp index 0687761a8..67679e027 100644 --- a/src/gui/widget/msgbox.cpp +++ b/src/gui/widget/msgbox.cpp @@ -88,6 +88,7 @@ void CMsgBox::init(const int& Height, const int& ShowButtons, const msg_result_t //enable footer and add its height showFooter(true); btn_enable_bg = false; + ccw_col_footer = ccw_body->getColorBody(); ccw_footer->doPaintBg(false); int h_current = height; h_current += ccw_footer->getHeight(); @@ -178,6 +179,7 @@ void CMsgBox::initButtons() } ccw_footer->setButtonLabels(v_buttons, 0, 125); + ccw_footer->getButtonChainObject()->setColorBody(col_body); //show buttons with background and shadow ccw_footer->enableButtonBg(btn_enable_bg);