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-e03cc46cb475master
parent
410b95f946
commit
29aa6ecd3f
|
@ -1,5 +1,7 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue