mirror of
https://github.com/mr0xb/godot-flashcards.git
synced 2026-08-27 20:44:56 -04:00
60 lines
1.9 KiB
Text
60 lines
1.9 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://c0ka24qxbge17"]
|
|
|
|
[ext_resource type="Script" uid="uid://u6qhaped7c3i" path="res://scenes/ui/main_menu/main_menu.gd" id="1_pxqwl"]
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_pxqwl")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 40
|
|
theme_override_constants/margin_top = 40
|
|
theme_override_constants/margin_right = 40
|
|
theme_override_constants/margin_bottom = 40
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 48
|
|
text = "Flashcard Thing"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Spacer" type="Control" parent="MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 60)
|
|
layout_mode = 2
|
|
|
|
[node name="MenuButtons" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
theme_override_constants/separation = 15
|
|
|
|
[node name="ManageDecksButton" type="Button" parent="MarginContainer/VBoxContainer/MenuButtons"]
|
|
custom_minimum_size = Vector2(300, 60)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "Manage Decks"
|
|
|
|
[node name="ViewProgressButton" type="Button" parent="MarginContainer/VBoxContainer/MenuButtons"]
|
|
custom_minimum_size = Vector2(300, 60)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "View Progress"
|
|
|
|
[node name="QuitButton" type="Button" parent="MarginContainer/VBoxContainer/MenuButtons"]
|
|
custom_minimum_size = Vector2(300, 60)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "Quit"
|