Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/gui/layouts/ChatBox.layout @ 7179

Last change on this file since 7179 was 7009, checked in by dafrick, 14 years ago

Enabled the ChatBox to be closed by pressing the close button in the upper right corner of the frame window.

  • Property svn:eol-style set to native
File size: 1.7 KB
RevLine 
[6596]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
[6870]4    <Window Type="DefaultWindow" Name="orxonox/ChatBox/Root" >
[6596]5        <Property Name="InheritsAlpha" Value="False" />
6        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
7        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
[7009]8        <Window Type="MenuWidgets/FrameWindow" Name="orxonox/ChatBox" >
[6596]9            <Property Name="Text" Value="Chat" />
10            <Property Name="InheritsAlpha" Value="False" />
11            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
12            <Property Name="TitlebarEnabled" Value="True" />
[6910]13            <!--<Property Name="UnifiedAreaRect" Value="{{0.01,0},{0.03,0},{0.6,0},{0.69375,0}}" />-->
14            <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.10,0},{0.98,0},{0.65,0}}" />
[6846]15            <Window Type="MenuWidgets/Listbox" Name="orxonox/ChatBox/history" >
[6876]16                <Property Name="Font" Value="Monofur-10" />
[6596]17                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
18                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.078,0},{0.98,0},{1,-30}}" />
19            </Window>
[6846]20            <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox/input" >
21                <Property Name="Text" Value="" />
[6876]22                <Property Name="Font" Value="Monofur-10" />
[6846]23                <Property Name="MaxTextLength" Value="1073741823" />
[6596]24                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
25                <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />
26            </Window>
[7009]27            <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/>
[6596]28        </Window>
29    </Window>
30</GUILayout>
Note: See TracBrowser for help on using the repository browser.