Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/MouseAPI_FS19/data/gui/layouts/SingleplayerMenu.layout @ 12397

Last change on this file since 12397 was 11803, checked in by landauf, 7 years ago

fixed alignment

  • Property svn:eol-style set to native
File size: 3.7 KB
Line 
1<?xml version='1.0' encoding='utf-8'?>
2<GUILayout version="4">
3    <Window name="SingleplayerBackground" type="MenuWidgets/StaticImage">
4        <Property name="FrameEnabled" value="False" />
5        <Property name="InheritsAlpha" value="False" />
6        <Property name="MaxSize" value="{{1,0},{1,0}}" />
7        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
8        <Property name="BackgroundEnabled" value="False" />
9        <Window name="SingleplayerWindow" type="MenuWidgets/StaticText">
10            <Property name="Text" value="Singleplayer" />
11            <Property name="Alpha" value="0.8" />
12            <Property name="InheritsAlpha" value="False" />
13            <Property name="HorzFormatting" value="CentreAligned" />
14            <Property name="MaxSize" value="{{1,0},{1,0}}" />
15            <Property name="VertFormatting" value="TopAligned" />
16            <Property name="Area" value="{{0.2,0},{0.15,0},{0.8,0},{0.7,0}}" />
17            <Window name="SingleplayerTabControl" type="MenuWidgets/TabControl">
18                <Property name="TabHeight" value="{0,26.4388}" />
19                <Property name="MaxSize" value="{{1,0},{1,0}}" />
20                <Property name="TabPanePosition" value="Top" />
21                <Property name="Area" value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
22            </Window>
23            <Window name="SingleplayerLevelImage" type="MenuWidgets/StaticImage">
24                <Property name="AlwaysOnTop" value="True" />
25                <Property name="MaxSize" value="{{1,0},{1,0}}" />
26                <Property name="Area" value="{{0.55,0},{0.25,0},{0.9,0},{0.675,0}}" />
27            </Window>
28            <Window name="SingleplayerLevelDescription" type="MenuWidgets/StaticText">
29                <Property name="AlwaysOnTop" value="True" />
30                <Property name="MaxSize" value="{{1,0},{1,0}}" />
31                <Property name="VertScrollbar" value="True" />
32                <Property name="HorzScrollbar" value="False" />
33                <Property name="Area" value="{{0.1,0},{0.725,0},{0.9,0},{0.875,0}}" />
34                <Property name="HorzFormatting" value="WordWrapLeftAligned" />
35            </Window>
36        </Window>
37        <Window name="SingleplayerStartButton" type="MenuWidgets/Button">
38            <Property name="Text" value="Start" />
39            <Property name="MaxSize" value="{{1,0},{1,0}}" />
40            <Property name="Area" value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
41            <Event function="SingleplayerMenu.SingleplayerStartButton_clicked" name="Clicked" />
42        </Window>
43        <Window name="SingleplayerConfigButton" type="MenuWidgets/Button">
44            <Property name="Text" value="Configure" />
45            <Property name="MaxSize" value="{{1,0},{1,0}}" />
46            <Property name="Area" value="{{0.425,0},{0.725,0},{0.575,0},{0.775,0}}" />
47            <Property name="Disabled" value="True" />
48            <Event function="SingleplayerMenu.SingleplayerConfigButton_clicked" name="Clicked" />
49        </Window>
50        <Window name="SingleplayerBackButton" type="MenuWidgets/Button">
51            <Property name="Text" value="Back" />
52            <Property name="MaxSize" value="{{1,0},{1,0}}" />
53            <Property name="Area" value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
54            <Event function="SingleplayerMenu.SingleplayerBackButton_clicked" name="Clicked" />
55        </Window>
56        <Window name="CampaignButton" type="MenuWidgets/Button">
57            <Property name="Text" value="Campaign" />
58            <Property name="MaxSize" value="{{1,0},{1,0}}" />
59            <Property name="Area" value="{{0.4,0},{0.8,0},{0.6,0},{0.85,0}}" />
60            <Event function="SingleplayerMenu.CampaignButton_clicked" name="Clicked" />
61        </Window>
62    </Window>
63</GUILayout>
Note: See TracBrowser for help on using the repository browser.