From 2cfc335e92899e1cad4249d031ff63eaf6a93b81 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. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/df4151936b6491a8a9a135580b050f6f6ab4c8cb Author: Thilo Graf Date: 2014-05-18 (Sun, 18 May 2014) --- 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())