I try to get somting like a console, as the one said here http://www.cegui.org.uk/wiki/index.php/Game_chat_box but with a different approach :
firstly, I don't need to get an input box, as I'm creating an information window, input is given by the application itself.
Another point is that I want to get a full history of all the gived output, so my strategy is to use a simple Static Text window, and stack to the Text field the requested log message.
The main problem is that when my window is full off output, the next is drawn under the window (and so hided).
I want to make my vertical Scrollbar staying at the bottom of the frame to get rid of this.
Here is how I've setup this StaticText :
Code: Select all
<Window Type="TaharezLook/StaticText" Name="Sandbox_interface/Live_debugger" >
<Property Name="Text" Value="Live Debugger disabled" />
<Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
<Property Name="VertFormatting" Value="TopAligned" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0.33,0},{0.4,0},{0.9,0}}" />
<Property Name="BackgroundEnabled" Value="False" />
<Property Name="FrameEnabled" Value="True" />
<Property Name="VertScrollbar" Value="True" />
</Window>
But I don't find the way to get an access to that scrollbar and change his position.
any idea ?
