Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/layouts/KeyBindMenu.layout @ 6335

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

Removed empty lines.
Adjusted size of boxes in KeyBindMenu so that the text is displayed properly.
Regarding the bug: Found the reason why this happens. The problem is, that apparently CEGUI doesn't allow for windows bigger than the displayed screen, which means, that any window that is bigger than the scrren size isn'f fully displayed. I have no idea how to circumvent this, but I'll keep looking.

  • Property svn:executable set to *
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="DefaultWindow" Name="orxonox/KeyBindMenu/Background" >
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}}" />
8        <Window Type="TaharezLook/StaticText" Name="orxonox/KeyBindWindow" >
9            <Property Name="Text" Value="Keybindings" />
10            <Property Name="Alpha" Value="0.8" />
11            <Property Name="InheritsAlpha" Value="False" />
12            <Property Name="HorzFormatting" Value="HorzCentred" />
13            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
14            <Property Name="VertFormatting" Value="TopAligned" />
15            <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
16            <Window Type="TaharezLook/StaticText" Name="orxonox/KeyBindWrapper" >
17                <Property Name="TextColours" Value="FF4444FF" />
18                <Property Name="InheritsAlpha" Value="False" />
19                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
20                <Property Name="HorzFormatting" Value="HorzCentred" />
21                <Property Name="VertFormatting" Value="TopAligned" />
22                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
23                <Window Type="TaharezLook/ScrollablePane" Name="orxonox/KeyBindPane" >
24                    <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
25                    <Property Name="HorzStepSize" Value="0.1" />
26                    <Property Name="VertStepSize" Value="0.1" />
27                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
28                    <Property Name="HorzOverlapSize" Value="0.01" />
29                    <Property Name="UnifiedAreaRect" Value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
30                    <Property Name="VertOverlapSize" Value="0.01" />
31                    <Property Name="HorzScrollPosition" Value="0" />
32                    <Property Name="VertScrollPosition" Value="0" />
33                </Window>
34            </Window>
35        </Window>
36        <Window Type="TaharezLook/Button" Name="orxonox/KeyBindBackButton" >
37            <Property Name="Text" Value="Back" />
38            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
39            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
40            <Event Name="Clicked" Function="KeyBindMenu.KeyBindBackButton_clicked"/>
41        </Window>
42    </Window>
43</GUILayout>
Note: See TracBrowser for help on using the repository browser.