source: branches/active/character_customization/game/gui/main_menu.xml @ 740

Revision 740, 1.8 KB checked in by qubodup, 9 years ago (diff)

Patch by qubodup:

  • Starting to apply notebook style to main menu
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          <Button base_color="0,0,0,0" name="newButton" text="New Game"/>
15          <Button name="loadButton" text="Load Game"/>
16          <Button name="optionsButton" text="Settings"/>
17          <Button name="creditsButton" text="Credits"/>
18                </VBox>
19        <Spacer fixed_size="20" />
20        <VBox name="rightPages" padding="8" opaque="0" position_technique="center:center"></VBox>
21      </HBox>
22      <HBox name="bottomTabs" min_size="0,30" opaque="0">
23          <!-- the tabl below is supposed to be at bottom left.. for now? -->
24          <ImageButton max_size="50,50" text="Quit" name="quitButton" up_image="gui/notebook/tabs/tab4_bg_dark_bottom.png" hover_image="gui/notebook/tabs/tab4_bg_normal_bottom.png" down_image="gui/notebook/tabs/tab4_bg_normal_bottom.png" />
25          </HBox>
26    </VBox>
27    <VBox min_size="20,0" padding="0" opaque="0">
28      <Spacer fixed_size="50"></Spacer>
29      <VBox name="rightTabs" min_size="20,0" opaque="0"></VBox>
30      <Spacer fixed_size="40"></Spacer>
31    </VBox>
32    <Spacer fixed_size="4"></Spacer>
33  </HBox>
34</VBox>
Note: See TracBrowser for help on using the repository browser.