CComponentsButton: Incrase height for btn font

This commit is contained in:
M. Liebmann
2014-02-21 00:00:45 +01:00
parent 7c5d29a687
commit c4bff391a5

View File

@@ -167,7 +167,7 @@ void CComponentsButton::initCaption()
//set properties to label object //set properties to label object
if (cc_btn_capt_obj){ if (cc_btn_capt_obj){
int cap_w = width - 2*fr_thickness - face_w; int cap_w = width - 2*fr_thickness - face_w;
int cap_h = height - 2*fr_thickness - 2*H_SPACE; int cap_h = height - 2*fr_thickness - H_SPACE;
if (cc_btn_icon_obj){ if (cc_btn_icon_obj){
cc_btn_icon_obj->setXPos(cap_x); cc_btn_icon_obj->setXPos(cap_x);
cap_x += face_w + H_SPACE; cap_x += face_w + H_SPACE;