summaryrefslogtreecommitdiff
path: root/dw/widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/widget.cc')
-rw-r--r--dw/widget.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/widget.cc b/dw/widget.cc
index ccded039..18748c4f 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -1117,6 +1117,12 @@ void Widget::setStyle (style::Style *style)
DBG_OBJ_SET_NUM ("style.height (raw)", style->height);
DBG_OBJ_SET_NUM ("style.min-height (raw)", style->minHeight);
DBG_OBJ_SET_NUM ("style.max-height (raw)", style->maxHeight);
+
+ if (style->backgroundColor)
+ DBG_OBJ_SET_COL ("style.background-color",
+ style->backgroundColor->getColor ());
+ else
+ DBG_OBJ_SET_SYM ("style.background-color", "transparent");
}
/**