Setting font sizes in xml
Posted: Fri Feb 18, 2005 00:40
I'm trying to change the size of the font in my static text element, but for some reason the static text shows up fine, but the font doesn't appear at the size I specify.
Any ideas of what I'm doing wrong? And is there some sort of document I can look or some dtd for the xml that will tell me exactly what elements there are and what properties are associated with them?
Thanks
Code: Select all
<Window Type="TaharezLook/StaticText" Name="SinglePlayer/Title">
<Property Name="Position" Value="x:0.07 y:0.02" />
<Property Name="Size" Value="w:0.6 h:0.06" />
<Property Name="HorzFormatting" Value="HorzCentred" />
<Property Name="BackgroundEnabled" Value="False" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="Font" Value="Tahoma-20" />
<Property Name="Text" Value="Single Player" />
</Window>
Any ideas of what I'm doing wrong? And is there some sort of document I can look or some dtd for the xml that will tell me exactly what elements there are and what properties are associated with them?
Thanks