From 8ef66ccda2906b9d3cfb04f952997cb719785904 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Fri, 21 Feb 2014 00:00:45 +0100 Subject: [PATCH] CComponentsButton: Incrase height for btn font Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/c4bff391a5b5520f3bb340988a71ebe06fa0fd71 Author: Michael Liebmann Date: 2014-02-21 (Fri, 21 Feb 2014) --- src/gui/components/cc_frm_button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_button.cpp b/src/gui/components/cc_frm_button.cpp index 37ea6c3d7..005455d5a 100644 --- a/src/gui/components/cc_frm_button.cpp +++ b/src/gui/components/cc_frm_button.cpp @@ -167,7 +167,7 @@ void CComponentsButton::initCaption() //set properties to label object if (cc_btn_capt_obj){ 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){ cc_btn_icon_obj->setXPos(cap_x); cap_x += face_w + H_SPACE;