CComponentsFooter: reduce scale factor without button background

This commit is contained in:
2015-07-01 15:54:33 +02:00
parent cabe84bf0f
commit 5de4b48a00

View File

@@ -142,7 +142,7 @@ void CComponentsFooter::setButtonLabels(const struct button_label_s * const cont
continue;
}
CComponentsButton *btn = new CComponentsButton(0, CC_CENTERED, w_btn_min, height-height/4, txt, btn_name);
CComponentsButton *btn = new CComponentsButton(0, CC_CENTERED, w_btn_min, height-height/(btn_contour ? 4 : 3), txt, btn_name);
btn->setButtonFont(ccf_btn_font);
btn->doPaintBg(btn_contour);
btn->setButtonEventMsg(content[i].btn_msg);