CComponentsButton: Incrase height for btn font

Origin commit data
------------------
Commit: c4bff391a5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)
This commit is contained in:
Michael Liebmann
2014-02-21 00:00:45 +01:00
parent 230c7e7770
commit 8ef66ccda2

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;