source: trunk/game/gui/main_menu.xml @ 833

Revision 818, 2.1 KB checked in by aspidites, 9 years ago (diff)

Patch by Aspidites et al:

  • squashed all commits that happened during the active_sprint before merging
Line 
1<VBox name="MainMenuMenu" background_image="gui/notebook/notebook_background.png" padding="0" position_technique="center:center" opaque="0" min_size="780,545" max_size="780,545">
2  <HBox vexpand="1" padding="0" opaque="0">
3    <VBox min_size="20,0" padding="0" opaque="0">
4      <Spacer fixed_size="50"></Spacer>
5      <VBox name="leftTabs" min_size="20,0" padding="0" opaque="0"></VBox>
6      <Spacer fixed_size="40"></Spacer>
7    </VBox>
8    <VBox padding="0" opaque="0">
9      <HBox name="topTabs" min_size="0,30" opaque="0"></HBox>
10      <HBox vexpand="1" opaque="0">
11        <Spacer fixed_size="32" />
12                <!-- by adding hexpand, buttons get resized to size of hbox (which is what I want) but I don't know why)-->
13        <VBox name="leftPage" hexpand="1" max_size="312,474" min_size="312,474" padding="8" opaque="0">
14          <Spacer fixed_size="32"/>
15          <Button base_color="0,0,0,0" name="newButton" text="New Game" font="OldTypewriter"/>
16          <Button base_color="0,0,0,0" name="loadButton" text="Load Game" font="OldTypewriter"/>
17          <Button base_color="0,0,0,0" name="settingsButton" text="Settings" font="OldTypewriter"/>
18          <Button base_color="0,0,0,0" name="creditsButton" text="Credits" font="OldTypewriter"/>
19                </VBox>
20        <Spacer fixed_size="20" />
21        <VBox name="rightPages" padding="8" opaque="0" position_technique="center:center"></VBox>
22      </HBox>
23      <HBox name="bottomTabs" min_size="0,30" opaque="0">
24          <!-- the tabl below is supposed to be at bottom left.. for now? -->
25      <Spacer fixed_size="32"/>
26          <ImageButton max_size="99,24" text="Quit" name="quitButton" font="OldTypewriter" up_image="gui/notebook/tabs/tab2_bg_dark_bottom.png" hover_image="gui/notebook/tabs/tab2_bg_normal_bottom.png" down_image="gui/notebook/tabs/tab2_bg_normal_bottom.png" />
27          </HBox>
28    </VBox>
29    <VBox min_size="20,0" padding="0" opaque="0">
30      <Spacer fixed_size="50"></Spacer>
31      <VBox name="rightTabs" min_size="20,0" opaque="0"></VBox>
32      <Spacer fixed_size="40"></Spacer>
33    </VBox>
34    <Spacer fixed_size="4"></Spacer>
35  </HBox>
36</VBox>
Note: See TracBrowser for help on using the repository browser.