CComponentsFooter: reduce scale factor without button background

Origin commit data
------------------
Commit: 5de4b48a00
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-01 (Wed, 01 Jul 2015)
This commit is contained in:
2015-07-01 15:54:33 +02:00
parent 2166b0e1b0
commit c6aa9b8ebf

View File

@@ -142,7 +142,7 @@ void CComponentsFooter::setButtonLabels(const struct button_label_s * const cont
continue; 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->setButtonFont(ccf_btn_font);
btn->doPaintBg(btn_contour); btn->doPaintBg(btn_contour);
btn->setButtonEventMsg(content[i].btn_msg); btn->setButtonEventMsg(content[i].btn_msg);