Minor bug fix in UIComboBox.

--HG--
branch : dev-css
This commit is contained in:
Martín Lucas Golini
2019-05-21 21:03:10 -03:00
parent 120f277a7f
commit e972e4f27e
2 changed files with 4 additions and 2 deletions

View File

@@ -87,6 +87,8 @@ void UIComboBox::loadFromXmlNode(const pugi::xml_node& node) {
mDropDownList->loadFromXmlNode( node );
endAttributesTransaction();
updateControls();
}
Uint32 UIComboBox::onMessage( const NodeMessage * Msg ) {

View File

@@ -58,9 +58,9 @@ void UIDropDownList::setTheme( UITheme * Theme ) {
}
void UIDropDownList::onSizeChange() {
UIWidget::onSizeChange();
onAutoSize();
UIWidget::onSizeChange();
}
void UIDropDownList::onThemeLoaded() {