Browse Source

Drop down box entry buttons now actually render text

Marko Pintera 12 years ago
parent
commit
c7b1426bde
1 changed files with 4 additions and 0 deletions
  1. 4 0
      BansheeEngine/Source/BsEngineGUI.cpp

+ 4 - 0
BansheeEngine/Source/BsEngineGUI.cpp

@@ -511,6 +511,10 @@ namespace BansheeEngine
 		dropDownEntryBtnStyle.border.right = 1;
 		dropDownEntryBtnStyle.border.top = 1;
 		dropDownEntryBtnStyle.border.bottom = 1;
+		dropDownEntryBtnStyle.font = font;
+		dropDownEntryBtnStyle.fontSize = DefaultFontSize;
+		dropDownEntryBtnStyle.textHorzAlign = THA_Left;
+		dropDownEntryBtnStyle.textVertAlign = TVA_Top;
 
 		mSkin.setStyle("DropDownEntryBtn", dropDownEntryBtnStyle);