display window on screen center

This commit is contained in:
Eduardo Bart
2012-01-02 23:32:34 -02:00
parent 05230f44e4
commit 7172d2251a
7 changed files with 17 additions and 17 deletions

View File

@@ -155,6 +155,7 @@ void UIWidget::setStyle(const std::string& styleName)
}
applyStyle(styleNode);
m_style = styleNode;
assert(getStyleName() != "");
updateStyle();
}