Text Size
Posted: Tue Apr 25, 2006 10:32
Hi!
How do I make my StaticText bigger?
I try the following, but all it does is throw around the text on the screen.
<Property Name="SetWindowSize" Value="w:2.3 h:2.0" />
<Property Name="Size" Value="w:1.0 h:1.0" />
Any tip would be nice
I tried calling a diffrent font but it doesn't work..
I specified 2 fonts in my .font file:
<Font Name="GringoNights" Filename="cegui:fonts/GringoNights.ttf" Type="Dynamic" Size="25" NativeHorzRes="800" NativeVertRes="600" AutoScaled="false"/>
<Font Name="GringoNightsBig" Filename="cegui:fonts/GringoNights.ttf" Type="Dynamic" Size="50" NativeHorzRes="800" NativeVertRes="600" AutoScaled="false"/>
GringoNights is set as default font and works like a clock
however I can never get GringoNightsBig when I try to use it via:
<Property Name="Font" Value="GringoNightsBig" />
in the .layout file
what is wrong?
why is things not working?
How do I make my StaticText bigger?
I try the following, but all it does is throw around the text on the screen.
<Property Name="SetWindowSize" Value="w:2.3 h:2.0" />
<Property Name="Size" Value="w:1.0 h:1.0" />
Any tip would be nice
I tried calling a diffrent font but it doesn't work..
I specified 2 fonts in my .font file:
<Font Name="GringoNights" Filename="cegui:fonts/GringoNights.ttf" Type="Dynamic" Size="25" NativeHorzRes="800" NativeVertRes="600" AutoScaled="false"/>
<Font Name="GringoNightsBig" Filename="cegui:fonts/GringoNights.ttf" Type="Dynamic" Size="50" NativeHorzRes="800" NativeVertRes="600" AutoScaled="false"/>
GringoNights is set as default font and works like a clock
however I can never get GringoNightsBig when I try to use it via:
<Property Name="Font" Value="GringoNightsBig" />
in the .layout file
what is wrong?
why is things not working?