From df4151936b6491a8a9a135580b050f6f6ab4c8cb Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 18 May 2014 20:39:52 +0200 Subject: [PATCH] CComponentsFooter: use same corner properties like parent object This avoids paint of unnecessary edges inside parent object. --- src/gui/components/cc_frm_footer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/components/cc_frm_footer.cpp b/src/gui/components/cc_frm_footer.cpp index 6e4d9249f..c76b7adf7 100644 --- a/src/gui/components/cc_frm_footer.cpp +++ b/src/gui/components/cc_frm_footer.cpp @@ -115,6 +115,7 @@ void CComponentsFooter::setButtonLabels(const struct button_label_s * const cont //button label container (chain object) itself is concurrent the parent object for button objects. if (chain == NULL){ chain = new CComponentsFrmChain(x_chain, CC_CENTERED, w_chain, height, 0, CC_DIR_X, this); + chain->setCorner(this->corner_rad, this->corner_type); chain->doPaintBg(false); } if (!chain->empty())