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.
This commit is contained in:
2016-10-14 00:47:42 +02:00
parent 013cd1f2cc
commit d50ef787a2

View File

@@ -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);