Sfoglia il codice sorgente

Drop down box entry buttons now actually render text

Marko Pintera 12 anni fa
parent
commit
c7b1426bde
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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);