CComponentsFooter: use same corner properties like parent object

This avoids paint of unnecessary edges inside parent object.
This commit is contained in:
2014-05-18 20:39:52 +02:00
parent 7096e701b6
commit df4151936b

View File

@@ -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())