Commit 29aa6ecd authored by bitplane's avatar bitplane

Bug fix for the combo box where it showed white text instead of skin colour...

Bug fix for the combo box where it showed white text instead of skin colour before being focused, fix posted by drewbacca

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2244 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 410b95f9
Changes in 1.6
- Bug fix for the combo box where it showed white text instead of skin colour before being focused, fix posted by drewbacca
- EGDS_MESSAGE_BOX_HEIGHT is now honoured, bug reported by Spkka
- Fixed a bug in the edit box where events are sometimes sent to a null parent, reported by Sudi.
......
......@@ -63,6 +63,8 @@ CGUIComboBox::CGUIComboBox(IGUIEnvironment* environment, IGUIElement* parent,
SelectedText->setSubElement(true);
SelectedText->setAlignment(EGUIA_UPPERLEFT, EGUIA_LOWERRIGHT, EGUIA_UPPERLEFT, EGUIA_LOWERRIGHT);
SelectedText->setTextAlignment(EGUIA_UPPERLEFT, EGUIA_CENTER);
if (skin)
SelectedText->setOverrideColor(skin->getColor(EGDC_BUTTON_TEXT));
SelectedText->enableOverrideColor(true);
setNotClipped(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment