Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/map/data/gui/layouts/TextDemo.layout @ 10179

Last change on this file since 10179 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 9.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="DefaultWindow" Name="Root" >
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/FrameWindow" Name="TextDemo" >
9            <Property Name="Text" Value="Text sample" />
10            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
11            <Property Name="TitlebarEnabled" Value="True" />
12            <Property Name="UnifiedAreaRect" Value="{{0.0160194,0},{0.0159533,0},{0.869175,0},{0.880739,0}}" />
13            <Window Type="TaharezLook/GroupBox" Name="TextDemo/StaticGroup" >
14                <Property Name="Text" Value="Static text" />
15                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
16                <Property Name="UnifiedAreaRect" Value="{{0.0173979,0},{0.078319,0},{0.986007,0},{0.404881,0}}" />
17            </Window>
18            <Window Type="TaharezLook/GroupBox" Name="TextDemo/SingleLineGroup" >
19                <Property Name="Text" Value="Single line editing" />
20                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
21                <Property Name="UnifiedAreaRect" Value="{{0.0184568,0},{0.415308,0},{0.984039,0},{0.570098,0}}" />
22            </Window>
23            <Window Type="TaharezLook/StaticText" Name="TextDemo/StaticText" >
24                <Property Name="Text" Value="Demonstrates static (non editable) text. Use the controls on your right for formatting options." />
25                <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
26                    <Property Name="VertFormatting" Value="TopAligned" />
27                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
28                <Property Name="UnifiedAreaRect" Value="{{0.032217,0},{0.126344,0},{0.42415,0},{0.384995,0}}" />
29            </Window>
30            <Window Type="TaharezLook/StaticText" Name="TextDemo/lblHorzFormatting" >
31                <Property Name="Text" Value="Horz. formatting" />
32                <Property Name="FrameEnabled" Value="False" />
33                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
34                <Property Name="UnifiedAreaRect" Value="{{0.436163,0},{0.124473,0},{0.634902,0},{0.173498,0}}" />
35                <Property Name="BackgroundEnabled" Value="False" />
36            </Window>
37            <Window Type="TaharezLook/RadioButton" Name="TextDemo/HorzLeft" >
38                <Property Name="Text" Value="Left aligned" />
39                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
40                <Property Name="UnifiedAreaRect" Value="{{0.434561,0},{0.179757,0},{0.602889,0},{0.228783,0}}" />
41            </Window>
42            <Window Type="TaharezLook/RadioButton" Name="TextDemo/HorzRight" >
43                <Property Name="Text" Value="Right aligned" />
44                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
45                <Property Name="UnifiedAreaRect" Value="{{0.434561,0},{0.223715,0},{0.602889,0},{0.27274,0}}" />
46            </Window>
47            <Window Type="TaharezLook/RadioButton" Name="TextDemo/HorzCentered" >
48                <Property Name="Text" Value="Center aligned" />
49                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
50                <Property Name="UnifiedAreaRect" Value="{{0.434561,0},{0.267673,0},{0.602889,0},{0.316698,0}}" />
51            </Window>
52            <Window Type="TaharezLook/StaticText" Name="TextDemo/lblVertFormatting" >
53                <Property Name="Text" Value="Vert. formatting" />
54                <Property Name="FrameEnabled" Value="False" />
55                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
56                <Property Name="UnifiedAreaRect" Value="{{0.612759,0},{0.124473,0},{0.787369,0},{0.173498,0}}" />
57                <Property Name="BackgroundEnabled" Value="False" />
58            </Window>
59            <Window Type="TaharezLook/RadioButton" Name="TextDemo/VertTop" >
60                <Property Name="Text" Value="Top aligned" />
61                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
62                <Property Name="UnifiedAreaRect" Value="{{0.609555,0},{0.190256,0},{0.792699,0},{0.227283,0}}" />
63            </Window>
64            <Window Type="TaharezLook/RadioButton" Name="TextDemo/VertBottom" >
65                <Property Name="Text" Value="Bottom aligned" />
66                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
67                <Property Name="UnifiedAreaRect" Value="{{0.609555,0},{0.234214,0},{0.792699,0},{0.27124,0}}" />
68            </Window>
69            <Window Type="TaharezLook/RadioButton" Name="TextDemo/VertCentered" >
70                <Property Name="Text" Value="Center aligned" />
71                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
72                <Property Name="UnifiedAreaRect" Value="{{0.609555,0},{0.276102,0},{0.792699,0},{0.313129,0}}" />
73            </Window>
74            <Window Type="TaharezLook/Checkbox" Name="TextDemo/Wrap" >
75                <Property Name="Text" Value="Word wrap" />
76                <Property Name="Selected" Value="True" />
77                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
78                <Property Name="UnifiedAreaRect" Value="{{0.780252,0},{0.127429,0},{0.931853,0},{0.180953,0}}" />
79            </Window>
80            <Window Type="TaharezLook/Editbox" Name="TextDemo/editName" >
81                <Property Name="Text" Value="Your name" />
82                <Property Name="MaxTextLength" Value="1073741823" />
83                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
84                <Property Name="UnifiedAreaRect" Value="{{0.032217,0},{0.497488,0},{0.282217,0},{0.548012,0}}" />
85            </Window>
86            <Window Type="TaharezLook/Editbox" Name="TextDemo/editAge" >
87                <Property Name="Text" Value="18" />
88                <Property Name="MaxTextLength" Value="1073741823" />
89                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
90                <Property Name="UnifiedAreaRect" Value="{{0.309388,0},{0.497488,0},{0.361665,0},{0.548012,0}}" />
91            </Window>
92            <Window Type="TaharezLook/Editbox" Name="TextDemo/editPasswd" >
93                <Property Name="Text" Value="Secret" />
94                <Property Name="MaxTextLength" Value="1073741823" />
95                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
96                <Property Name="UnifiedAreaRect" Value="{{0.386344,0},{0.497488,0},{0.576599,0},{0.548012,0}}" />
97            </Window>
98            <Window Type="TaharezLook/StaticText" Name="TextDemo/lblName" >
99                <Property Name="Text" Value="Name:" />
100                <Property Name="AlwaysOnTop" Value="True" />
101                <Property Name="FrameEnabled" Value="False" />
102                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
103                <Property Name="UnifiedAreaRect" Value="{{0.0334283,0},{0.453505,0},{0.283428,0},{0.492031,0}}" />
104                <Property Name="BackgroundEnabled" Value="False" />
105            </Window>
106            <Window Type="TaharezLook/StaticText" Name="TextDemo/lblAge" >
107                <Property Name="Text" Value="Age:" />
108                <Property Name="AlwaysOnTop" Value="True" />
109                <Property Name="FrameEnabled" Value="False" />
110                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
111                <Property Name="UnifiedAreaRect" Value="{{0.312375,0},{0.453505,0},{0.562375,0},{0.492031,0}}" />
112                <Property Name="BackgroundEnabled" Value="False" />
113            </Window>
114            <Window Type="TaharezLook/StaticText" Name="TextDemo/lblPassword" >
115                <Property Name="Text" Value="Password:" />
116                <Property Name="AlwaysOnTop" Value="True" />
117                <Property Name="FrameEnabled" Value="False" />
118                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
119                <Property Name="UnifiedAreaRect" Value="{{0.389616,0},{0.452006,0},{0.639615,0},{0.490531,0}}" />
120                <Property Name="BackgroundEnabled" Value="False" />
121            </Window>
122            <Window Type="TaharezLook/GroupBox" Name="TextDemo/MultiLineGroup" >
123                <Property Name="Text" Value="Multi line editing" />
124                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
125                <Property Name="UnifiedAreaRect" Value="{{0.018457,0},{0.583793,0},{0.984039,0},{0.932058,0}}" />
126            </Window>
127            <Window Type="TaharezLook/MultiLineEditbox" Name="TextDemo/editMulti" >
128                <Property Name="Text" >
129</Property>
130                <Property Name="MaxTextLength" Value="1073741823" />
131                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
132                <Property Name="UnifiedAreaRect" Value="{{0.032217,0},{0.651968,0},{0.579514,0},{0.910619,0}}" />
133            </Window>
134            <Window Type="TaharezLook/Checkbox" Name="TextDemo/forceScroll" >
135                <Property Name="Text" Value="Force vertical scrollbar" />
136                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
137                <Property Name="UnifiedAreaRect" Value="{{0.585348,0},{0.651481,0},{0.832503,0},{0.688507,0}}" />
138            </Window>
139            <Window Type="TaharezLook/Button" Name="TextDemo/Quit" >
140                <Property Name="Text" Value="Quit" />
141                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
142                <Property Name="UnifiedAreaRect" Value="{{0.421905,0},{0.937908,0},{0.612162,0},{0.991433,0}}" />
143            </Window>
144        </Window>
145    </Window>
146</GUILayout>
Note: See TracBrowser for help on using the repository browser.