Convert remaining to anchors and margin containers

This commit is contained in:
WallK 2024-01-11 15:41:24 +02:00
parent 94c704b10f
commit decc73a499
2 changed files with 140 additions and 132 deletions

View file

@ -104,9 +104,11 @@ grow_vertical = 2
[node name="TabContainer" type="TabContainer" parent="Background/MarginContainer"]
layout_mode = 2
tab_alignment = 1
current_tab = 7
script = ExtResource("3_id6l4")
[node name="System" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2
theme_override_constants/margin_right = 240
@ -135,6 +137,7 @@ columns = 2
[node name="resume" type="CheckButton" parent="Background/MarginContainer/TabContainer/System/ScrollContainer/VBoxContainer/game_control_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/h_separation = 128
button_pressed = true
text = "Quick Resume"
@ -146,6 +149,7 @@ text = "Advanced"
[node name="rewind" type="CheckButton" parent="Background/MarginContainer/TabContainer/System/ScrollContainer/VBoxContainer/game_control_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/h_separation = 256
text = "Rewind"
metadata/description = "This is another, very long and convoluted, description, that I put too much commas in to make in LONGER and more SOPHISTICATED. And I did it twice!!!This is another, very long and convoluted, description, that I put too much commas in to make in LONGER and more SOPHISTICATED."
@ -157,6 +161,7 @@ text = "Advanced"
[node name="quitconfirm" type="CheckButton" parent="Background/MarginContainer/TabContainer/System/ScrollContainer/VBoxContainer/game_control_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
button_pressed = true
text = "Quit Confirmation
"
@ -168,6 +173,7 @@ text = "Advanced"
[node name="cheats" type="CheckButton" parent="Background/MarginContainer/TabContainer/System/ScrollContainer/VBoxContainer/game_control_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "Cheats (coming soon)"
@ -176,21 +182,19 @@ layout_mode = 2
disabled = true
text = "Advanced"
[node name="Graphics" type="Control" parent="Background/MarginContainer/TabContainer"]
[node name="Graphics" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2
theme_override_constants/margin_right = 240
[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer/TabContainer/Graphics"]
layout_mode = 1
offset_left = 20.0
offset_top = 20.0
offset_right = 745.0
offset_bottom = 470.0
layout_mode = 2
size_flags_vertical = 3
follow_focus = true
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 64
[node name="decorations_container" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer"]
@ -209,6 +213,7 @@ columns = 2
[node name="borders" type="CheckButton" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/decorations_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
button_pressed = true
text = "Borders"
@ -219,6 +224,7 @@ text = "Advanced"
[node name="wide_screen" type="CheckButton" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/decorations_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "Wide Screen"
[node name="wide_screen_advanced" type="Button" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/decorations_container/GridContainer"]
@ -228,6 +234,7 @@ text = "Advanced"
[node name="shaders" type="CheckButton" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/decorations_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
button_pressed = true
text = "Shaders (coming soon)
@ -248,38 +255,39 @@ text = "Extra"
[node name="decorations_separator" type="HSeparator" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container"]
layout_mode = 2
[node name="wide_screen" type="CheckButton" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container"]
[node name="GridContainer" type="GridContainer" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container"]
layout_mode = 2
columns = 2
[node name="wide_screen" type="CheckButton" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
button_pressed = true
text = "Mods"
[node name="wide_screen_advanced" type="Button" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container/wide_screen"]
layout_mode = 0
offset_left = 328.0
offset_right = 404.0
offset_bottom = 29.0
[node name="wide_screen_advanced" type="Button" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container/GridContainer"]
layout_mode = 2
disabled = true
text = "Advanced"
[node name="borders" type="CheckButton" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container"]
[node name="TateMode" type="CheckButton" parent="Background/MarginContainer/TabContainer/Graphics/ScrollContainer/VBoxContainer/extra_container/GridContainer"]
layout_mode = 2
disabled = true
text = "TATE Mode (coming soon)"
[node name="Controls" type="Control" parent="Background/MarginContainer/TabContainer"]
[node name="Controls" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2
theme_override_constants/margin_right = 240
[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer/TabContainer/Controls"]
layout_mode = 0
offset_left = 17.0
offset_right = 751.0
offset_bottom = 494.0
layout_mode = 2
follow_focus = true
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Controls/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="buttons_container" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Controls/ScrollContainer/VBoxContainer"]
layout_mode = 2
@ -296,6 +304,7 @@ layout_mode = 2
[node name="wide_screen" type="Label" parent="Background/MarginContainer/TabContainer/Controls/ScrollContainer/VBoxContainer/buttons_container/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "Steam: Controller Templates"
[node name="wide_screen_advanced" type="Button" parent="Background/MarginContainer/TabContainer/Controls/ScrollContainer/VBoxContainer/buttons_container/HBoxContainer"]
@ -309,6 +318,7 @@ layout_mode = 2
[node name="Label" type="Label" parent="Background/MarginContainer/TabContainer/Controls/ScrollContainer/VBoxContainer/buttons_container/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 3
text = "Button Layout"
[node name="borders" type="OptionButton" parent="Background/MarginContainer/TabContainer/Controls/ScrollContainer/VBoxContainer/buttons_container/HBoxContainer2"]
@ -329,16 +339,13 @@ button_pressed = true
text = "Hotkey Activation Sound (coming soon)
"
[node name="Tools" type="Control" parent="Background/MarginContainer/TabContainer"]
[node name="Tools" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2
theme_override_constants/margin_right = 240
[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer/TabContainer/Tools"]
layout_mode = 2
offset_left = 27.0
offset_top = 22.0
offset_right = 748.0
offset_bottom = 470.0
follow_focus = true
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Tools/ScrollContainer"]
@ -404,7 +411,6 @@ text = "Install PS3 Firmware"
[node name="quitconfirm" type="CheckButton" parent="Background/MarginContainer/TabContainer/Tools/ScrollContainer/VBoxContainer/tools"]
layout_mode = 2
toggle_mode = false
text = "Show Favorites as Steam Games
"
@ -438,23 +444,18 @@ layout_mode = 2
disabled = true
text = "Move User Files"
[node name="game_control_container2" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Tools/ScrollContainer/VBoxContainer"]
layout_mode = 2
[node name="Network" type="Control" parent="Background/MarginContainer/TabContainer"]
[node name="Network" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2
theme_override_constants/margin_right = 240
[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer/TabContainer/Network"]
layout_mode = 2
offset_left = 21.0
offset_top = 8.0
offset_right = 750.0
offset_bottom = 464.0
follow_focus = true
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 64
[node name="cheevos_container" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer"]
@ -474,31 +475,36 @@ columns = 2
[node name="cheevos_username_lab" type="Label" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Username:"
[node name="cheevos_username" type="LineEdit" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer"]
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
size_flags_horizontal = 3
text = "username"
placeholder_text = "username"
[node name="cheevos_pass_lab" type="Label" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
text = "Password:"
[node name="cheevos_pass" type="LineEdit" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "password"
placeholder_text = "password"
secret = true
secret_character = "*"
[node name="GridContainer2" type="GridContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container"]
[node name="GridContainer2" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container"]
layout_mode = 2
[node name="cheevos_advanced" type="Button" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer2"]
layout_mode = 2
size_flags_horizontal = 0
disabled = true
text = "Advanced"
@ -510,17 +516,17 @@ text = "Hardcore Mode (coming soon)"
[node name="cheevos_loginout_container" type="HBoxContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer2"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
[node name="cheevos_login_logout" type="Button" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer2/cheevos_loginout_container"]
layout_mode = 2
text = "Login"
theme_override_constants/separation = 10
[node name="cheevos_show" type="Button" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer2/cheevos_loginout_container"]
layout_mode = 2
disabled = true
text = "Show Throphies"
[node name="cheevos_login_logout" type="Button" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/cheevos_container/GridContainer2/cheevos_loginout_container"]
layout_mode = 2
text = "Login"
[node name="netplay_container" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer"]
layout_mode = 2
@ -528,7 +534,7 @@ layout_mode = 2
layout_mode = 2
text = "Netplay"
[node name="cheevos_separator" type="HSeparator" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container"]
[node name="netplay_separator" type="HSeparator" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container"]
layout_mode = 2
[node name="GridContainer" type="GridContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container"]
@ -538,37 +544,38 @@ columns = 2
[node name="netplay_id" type="Label" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 5
text = "Netplay ID:"
[node name="netplay_id2" type="LineEdit" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container/GridContainer"]
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
size_flags_horizontal = 3
text = "RetroDECK"
placeholder_text = "RetroDECK"
[node name="netplay_address" type="Label" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 5
text = "Address:"
[node name="netplay_address2" type="LineEdit" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "127.0.0.1"
placeholder_text = "127.0.0.1"
[node name="blank_label" type="Label" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 5
[node name="netplay_connect_disconnect" type="Button" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container/GridContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
text = "Connect"
[node name="netplay_join_disconnect" type="HBoxContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/netplay_container"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer"]
layout_mode = 2
@ -579,29 +586,28 @@ layout_mode = 2
layout_mode = 2
text = "Data Management"
[node name="cheevos_separator" type="HSeparator" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/VBoxContainer/GridContainer"]
[node name="dataman_separator" type="HSeparator" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/VBoxContainer/GridContainer"]
layout_mode = 2
[node name="rewind" type="CheckButton" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "Saves Sync (coming soon)"
[node name="ftp" type="Button" parent="Background/MarginContainer/TabContainer/Network/ScrollContainer/VBoxContainer/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "Start FTP Server"
[node name="Troubleshoot" type="Control" parent="Background/MarginContainer/TabContainer"]
[node name="Troubleshoot" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2
theme_override_constants/margin_right = 240
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Troubleshoot"]
layout_mode = 0
offset_left = 26.0
offset_top = 36.0
offset_right = 390.0
offset_bottom = 442.0
layout_mode = 2
theme_override_constants/separation = 64
[node name="game_control_container" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Troubleshoot/VBoxContainer"]
@ -645,22 +651,19 @@ text = "All Emulators"
layout_mode = 2
text = "Full RetroDECK Reset"
[node name="Configurator" type="Control" parent="Background/MarginContainer/TabContainer"]
[node name="Configurator" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2
theme_override_constants/margin_right = 240
[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer/TabContainer/Configurator"]
layout_mode = 2
offset_left = 21.0
offset_top = 23.0
offset_right = 750.0
offset_bottom = 436.0
follow_focus = true
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Configurator/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 2
size_flags_vertical = 3
theme_override_constants/separation = 64
[node name="system_container" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/Configurator/ScrollContainer/VBoxContainer"]
@ -689,6 +692,8 @@ layout_mode = 2
[node name="multi_user_label" type="Label" parent="Background/MarginContainer/TabContainer/Configurator/ScrollContainer/VBoxContainer/system_container/multi_user_container"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
text = "Multi-User Mode"
[node name="multi_user" type="OptionButton" parent="Background/MarginContainer/TabContainer/Configurator/ScrollContainer/VBoxContainer/system_container/multi_user_container"]
@ -706,37 +711,37 @@ popup/item_2/id = 2
[node name="menu_music" type="CheckButton" parent="Background/MarginContainer/TabContainer/Configurator/ScrollContainer/VBoxContainer/system_container"]
layout_mode = 2
button_pressed = true
text = "Menu music
"
text = "Menu music"
[node name="fancy_audio_player_here" type="Label" parent="Background/MarginContainer/TabContainer/Configurator/ScrollContainer/VBoxContainer/system_container"]
layout_mode = 2
size_flags_vertical = 1
text = "|| ------( )--------"
[node name="About" type="Control" parent="Background/MarginContainer/TabContainer"]
visible = false
[node name="About" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
layout_mode = 2
theme_override_constants/margin_right = 240
[node name="Icon" type="Sprite2D" parent="Background/MarginContainer/TabContainer/About"]
position = Vector2(152, 83.5)
scale = Vector2(0.515625, 0.503906)
texture = ExtResource("1_axfei")
[node name="RichTextLabel" type="RichTextLabel" parent="Background/MarginContainer/TabContainer/About"]
[node name="Control" type="Control" parent="Background/MarginContainer/TabContainer/About"]
layout_mode = 2
offset_left = 266.0
offset_top = 42.0
offset_right = 712.0
offset_bottom = 132.0
theme_override_font_sizes/normal_font_size = 80
text = "About RetroDECK"
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/TabContainer/About"]
layout_mode = 0
offset_left = 233.0
offset_top = 142.0
offset_right = 737.0
offset_bottom = 440.0
layout_mode = 2
[node name="RichTextLabel" type="RichTextLabel" parent="Background/MarginContainer/TabContainer/About/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_font_sizes/normal_font_size = 52
text = "About RetroDECK"
[node name="LogoIcon" type="TextureRect" parent="Background/MarginContainer/TabContainer/About/VBoxContainer"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("1_axfei")
expand_mode = 1
stretch_mode = 4
[node name="Button7" type="Button" parent="Background/MarginContainer/TabContainer/About/VBoxContainer"]
layout_mode = 2
@ -818,11 +823,14 @@ position = Vector2(134, 151)
color = Color(0.858824, 0.890196, 1, 1)
[node name="coltroller_guide" type="PanelContainer" parent="."]
layout_mode = 0
offset_left = 1.0
offset_top = 762.0
offset_right = 1280.0
offset_bottom = 800.0
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -38.0
grow_horizontal = 2
grow_vertical = 0
[node name="controller_guide_text" type="RichTextLabel" parent="coltroller_guide"]
layout_mode = 2

File diff suppressed because one or more lines are too long