Draft: Resolve "Migrate app to use Godot for the UI" #93

Open
thorsten wants to merge 34 commits from 58-migrate-app-to-use-godot-for-the-ui into main
Showing only changes of commit 5180254244 - Show all commits

View File

@ -11,33 +11,36 @@ grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_x217b")
[node name="MarginContainer" type="MarginContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/MarginContainer"]
layout_mode = 2
[node name="Button" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Button" type="Button" parent="VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Create Unit"
[node name="Button2" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
[node name="Button2" type="Button" parent="VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Delete"
[node name="CheckButton" type="CheckButton" parent="MarginContainer/VBoxContainer/HBoxContainer"]
[node name="CheckButton" type="CheckButton" parent="VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="CheckButton2" type="CheckButton" parent="MarginContainer/VBoxContainer/HBoxContainer"]
[node name="CheckButton2" type="CheckButton" parent="VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Auto Save"
[node name="OptionButton" type="OptionButton" parent="MarginContainer/VBoxContainer"]
[node name="OptionButton" type="OptionButton" parent="VBoxContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
item_count = 3
popup/item_0/text = "Option 1"
@ -48,7 +51,7 @@ popup/item_1/disabled = true
popup/item_2/text = "Option 3"
popup/item_2/id = 2
[node name="MenuButton" type="MenuButton" parent="MarginContainer/VBoxContainer"]
[node name="MenuButton" type="MenuButton" parent="VBoxContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
toggle_mode = false
text = "Mein Menü"
@ -66,3 +69,48 @@ popup/item_3/separator = true
popup/item_4/text = "Auto Save"
popup/item_4/checkable = 1
popup/item_4/id = 3
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="TabContainer" type="TabContainer" parent="VBoxContainer/MarginContainer2"]
layout_mode = 2
[node name="Tab1" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/MarginContainer2/TabContainer/Tab1"]
layout_mode = 0
offset_right = 132.0
offset_bottom = 101.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer2/TabContainer/Tab1/MarginContainer"]
layout_mode = 2
[node name="Button" type="Button" parent="VBoxContainer/MarginContainer2/TabContainer/Tab1/MarginContainer/HBoxContainer"]
layout_mode = 2
text = "Load"
[node name="Button2" type="Button" parent="VBoxContainer/MarginContainer2/TabContainer/Tab1/MarginContainer/HBoxContainer"]
layout_mode = 2
text = "Store"
[node name="Tab2" type="TabBar" parent="VBoxContainer/MarginContainer2/TabContainer"]
visible = false
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/MarginContainer2/TabContainer/Tab2"]
layout_mode = 0
offset_right = 24.0
offset_bottom = 24.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer2/TabContainer/Tab2/MarginContainer"]
layout_mode = 2
[node name="Button" type="Button" parent="VBoxContainer/MarginContainer2/TabContainer/Tab2/MarginContainer/HBoxContainer"]
layout_mode = 2
text = "STart"
[node name="Button2" type="Button" parent="VBoxContainer/MarginContainer2/TabContainer/Tab2/MarginContainer/HBoxContainer"]
layout_mode = 2
text = "Stop"