I'm using CEGUI 0.7 with Ogre. The problem I'm seeing is when I resize a FrameWindow, it causes massive slowdowns when the size increases. The FrameWindow contains 1 MultiColumnList and 3 Buttons. I can mess around with the size and it will be fine as long as it's kept under the original size. As soon as I try to increase its size, the slowdown occurs. I'm new to CEGUI so I don't really know what's going on yet, but I'm guessing this has to do with texture reallocation? I glanced over the logs and don't see any error. The issue remains in debug and release builds. I tried searching the forums but came with nothing. Is this a known issue? Is there anything I can do to fix it?
Here's my layout file :
Code: Select all
<?xml version="1.0" ?>
<!-- Layout file for squad list window -->
<GUILayout>
<Window Type="DefaultGUISheet" Name="SquadListWindow">
<Property Name="MousePassThroughEnabled" Value="true" />
<Window Type="TaharezLook/FrameWindow" Name="SquadList">
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedSize" Value="{{0,610},{0,400}}" />
<Property Name="Text" Value="Squads" />
<Window Type="TaharezLook/MultiColumnList" Name="SquadList/List">
<Property Name="UnifiedPosition" Value="{{0,5},{0,5}}" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedSize" Value="{{1,-20},{1,-45}}" />
<Property Name="ColumnHeader" Value="text:Name width:{0.4,0} id:0" />
<Property Name="ColumnHeader" Value="text:Status width:{0.6,0} id:1" />
</Window>
<Window Type="TaharezLook/Button" Name="SquadList/CloseBtn">
<Property Name="UnifiedPosition" Value="{{1,-105},{1,-32}}" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedSize" Value="{{0,100},{0,30}}" />
<Property Name="Text" Value="Close" />
</Window>
<Window Type="TaharezLook/Button" Name="SquadList/ViewBtn">
<Property Name="UnifiedPosition" Value="{{1,-210},{1,-32}}" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedSize" Value="{{0,100},{0,30}}" />
<Property Name="Text" Value="View" />
</Window>
<Window Type="TaharezLook/Button" Name="SquadList/NewBtn">
<Property Name="UnifiedPosition" Value="{{1,-315},{1,-32}}" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedSize" Value="{{0,100},{0,30}}" />
<Property Name="Text" Value="New" />
</Window>
</Window>
</Window>
</GUILayout>
Thanks!