[SOLVED]problem about format tags
Posted: Mon Dec 26, 2011 07:10
Hi~
I'm new in using CEGUI and need some helps.
I find format tags don't work with OgreTray skin or some other skins.
The color of Button2 does not change to green with the format code [colour='FF00FF00']Button2
Thank you for help!!!
I'm new in using CEGUI and need some helps.
I find format tags don't work with OgreTray skin or some other skins.
The color of Button2 does not change to green with the format code [colour='FF00FF00']Button2
Thank you for help!!!
Code: Select all
<GUILayout >
<Window Type="DefaultWindow" Name="Root" >
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
<Window Type="TaharezLook/Button" Name="Root/bt1" >
<Property Name="Text" Value="[colour='FF00FF00']Button1" />
<Property Name="UnifiedAreaRect" Value="{{0.0554906,0},{0.0943486,0},{0.305491,0},{0.344348,0}}" />
</Window>
<Window Type="OgreTray/Button" Name="Root/bt2" >
<Property Name="Text" Value="[colour='FF00FF00']Button2" />
<Property Name="UnifiedAreaRect" Value="{{0.0620791,0},{0.380063,0},{0.312079,0},{0.630063,0}}" />
</Window>
<Window Type="Vanilla/Button" Name="Root/bt3" >
<Property Name="Text" Value="[colour='FF00FF00']Button3" />
<Property Name="UnifiedAreaRect" Value="{{0.058126,0},{0.679435,0},{0.308126,0},{0.929435,0}}" />
</Window>
</Window>
</GUILayout>