From d50ef787a2738bcf53763e1650441c26416c266c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 14 Oct 2016 00:47:42 +0200 Subject: [PATCH] CMsgBox: enlarge footer height Buttons has too small offset to bottom of footer. Framed and shaded buttons are arranged on the top of footer, so we have a larger offset. --- 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 bee06c37d..bf8607f6e 100644 --- a/src/gui/widget/msgbox.cpp +++ b/src/gui/widget/msgbox.cpp @@ -87,6 +87,8 @@ void CMsgBox::init(const int& Height, const int& ShowButtons, const msg_result_t //enable footer and add its height showFooter(true); + ccw_h_footer = ccw_footer->getHeight()+OFFSET_INNER_MID; + ccw_footer->setHeight(ccw_h_footer); btn_enable_bg = false; ccw_col_footer = ccw_body->getColorBody(); ccw_footer->doPaintBg(false);