diff --git a/nel/include/nel/gui/css_style.h b/nel/include/nel/gui/css_style.h index 604fac431..664d13c64 100644 --- a/nel/include/nel/gui/css_style.h +++ b/nel/include/nel/gui/css_style.h @@ -228,6 +228,10 @@ namespace NLGUI Current.BorderTopWidth = Current.BorderRightWidth = Current.BorderBottomWidth = Current.BorderLeftWidth = CSS_LINE_WIDTH_MEDIUM; Current.BorderTopStyle = Current.BorderRightStyle = Current.BorderBottomStyle = Current.BorderLeftStyle = CSS_LINE_STYLE_NONE; Current.BorderTopColor = Current.BorderRightColor = Current.BorderBottomColor = Current.BorderLeftColor = Current.TextColor; + + Current.BackgroundColor = NLMISC::CRGBA::Transparent; + Current.BackgroundColorOver = NLMISC::CRGBA::Transparent; + Current.MarginTop = Current.MarginRight = Current.MarginBottom = Current.MarginLeft = 0; Current.PaddingTop = Current.PaddingRight = Current.PaddingBottom = Current.PaddingLeft = 0;