XML reading bug ?
Posted: Sun Aug 20, 2006 19:28
Hello, I sumbled over this strange behaivour that, for me, is a bug:
(not the complete file)
This code works perfectly, but as I'm a person that like things to be aligned, I want to write this:
And I run my program again and woeps ! Strange ... The height of my window is now the minimum (0.25) and I can't change it !! But the width is right and I can change it like intended.
I'd like to know if this is a bug in CEGUI and if yes, will it be fixed for the official release 0.5.0 ?
ah yes, I use TinyXML as parser and didn't try it on an other parser yet (didn't compile any other parser, in fact.)
Code: Select all
<Window Type="SleekSpace/FrameWindow" Name="Welcome">
<Property Name="UnifiedPosition" Value="{{0.25,0},{0.25,0}}" />
<Property Name="UnifiedSize" Value="{{0.5,0},{0.5,0}}" />
<Property Name="UnifiedMaxSize" Value="{{0.8,0},{0.8,0}}" />
<Property Name="UnifiedMinSize" Value="{{0.25,0},{0.25,0}}" />
</window>
(not the complete file)
This code works perfectly, but as I'm a person that like things to be aligned, I want to write this:
Code: Select all
<Window Type="SleekSpace/FrameWindow" Name="Welcome">
<Property Name="UnifiedPosition" Value="{{0.25,0},{0.25,0}}" />
<Property Name="UnifiedSize" Value="{{0.5 ,0},{0.5 ,0}}" />
<Property Name="UnifiedMaxSize" Value="{{0.8 ,0},{0.8 ,0}}" />
<Property Name="UnifiedMinSize" Value="{{0.25,0},{0.25,0}}" />
</window>
And I run my program again and woeps ! Strange ... The height of my window is now the minimum (0.25) and I can't change it !! But the width is right and I can change it like intended.
I'd like to know if this is a bug in CEGUI and if yes, will it be fixed for the official release 0.5.0 ?
ah yes, I use TinyXML as parser and didn't try it on an other parser yet (didn't compile any other parser, in fact.)