mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
CComponentsFooter: use background color of footer inside chain object
Ensure pass of bg color from parent into chain object and button objects. Required by embedded button objects. This prevents "holes" on screen.
This commit is contained in:
@@ -117,7 +117,7 @@ void CComponentsFooter::setButtonLabels(const struct button_label_s * const cont
|
|||||||
//footer as primary container (in this context '=this') and the parent for the button label container (chain object),
|
//footer as primary container (in this context '=this') and the parent for the button label container (chain object),
|
||||||
//button label container (chain object) itself is concurrent the parent object for button objects.
|
//button label container (chain object) itself is concurrent the parent object for button objects.
|
||||||
if (chain == NULL){
|
if (chain == NULL){
|
||||||
chain = new CComponentsFrmChain(x_chain, CC_CENTERED, w_chain, height, 0, CC_DIR_X, this);
|
chain = new CComponentsFrmChain(x_chain, CC_CENTERED, w_chain, height, 0, CC_DIR_X, this, CC_SHADOW_OFF, COL_MENUCONTENT_PLUS_6, col_body);
|
||||||
chain->setCorner(this->corner_rad, this->corner_type);
|
chain->setCorner(this->corner_rad, this->corner_type);
|
||||||
chain->doPaintBg(false);
|
chain->doPaintBg(false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user