From e127ad39e742396030352240d829bc903b1d4464 Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Mon, 3 Oct 2022 22:22:50 +0200 Subject: godot: inital Godot 4 migration --- Scenes/Terminal/ButtonBlock.tscn | 10 +++++----- Scenes/Terminal/InputArea.tscn | 16 ++++++++-------- Scenes/Terminal/MenuScreen.tscn | 20 ++++++++++---------- Scenes/Terminal/OutputArea.tscn | 4 ++-- Scenes/Terminal/OutputBlock.tscn | 4 ++-- Scenes/Terminal/Screen.tscn | 12 ++++++------ Scenes/Terminal/StatusArea.tscn | 10 +++++----- 7 files changed, 38 insertions(+), 38 deletions(-) (limited to 'Scenes/Terminal') diff --git a/Scenes/Terminal/ButtonBlock.tscn b/Scenes/Terminal/ButtonBlock.tscn index d8d535a..6982d3d 100644 --- a/Scenes/Terminal/ButtonBlock.tscn +++ b/Scenes/Terminal/ButtonBlock.tscn @@ -7,14 +7,14 @@ anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 -custom_constants/margin_right = 200 -custom_constants/margin_left = 200 +custom_constants/offset_right = 200 +custom_constants/offset_left = 200 script = ExtResource( 1 ) [node name="Buttons" type="VBoxContainer" parent="."] unique_name_in_owner = true -margin_left = 200.0 -margin_right = 600.0 -margin_bottom = 600.0 +offset_left = 200.0 +offset_right = 600.0 +offset_bottom = 600.0 custom_constants/separation = 0 alignment = 1 diff --git a/Scenes/Terminal/InputArea.tscn b/Scenes/Terminal/InputArea.tscn index 5532c6d..54c514e 100644 --- a/Scenes/Terminal/InputArea.tscn +++ b/Scenes/Terminal/InputArea.tscn @@ -3,25 +3,25 @@ [ext_resource path="res://Scripts/Terminal/InputArea.cs" type="Script" id=1] [node name="InputArea" type="HBoxContainer"] -margin_right = 640.0 -margin_bottom = 25.0 +offset_right = 640.0 +offset_bottom = 25.0 script = ExtResource( 1 ) [node name="PromptLabel" type="Label" parent="."] unique_name_in_owner = true -margin_right = 20.0 -margin_bottom = 25.0 +offset_right = 20.0 +offset_bottom = 25.0 theme_type_variation = "InvertedLabel" text = "?>" [node name="TextInput" type="LineEdit" parent="."] unique_name_in_owner = true -margin_left = 28.0 -margin_right = 640.0 -margin_bottom = 25.0 +offset_left = 28.0 +offset_right = 640.0 +offset_bottom = 25.0 size_flags_horizontal = 3 context_menu_enabled = false selecting_enabled = false caret_blink = true -[connection signal="text_entered" from="TextInput" to="." method="OnTextEntered"] +[connection signal="text_submitted" from="TextInput" to="." method="OnTextEntered"] diff --git a/Scenes/Terminal/MenuScreen.tscn b/Scenes/Terminal/MenuScreen.tscn index 84e8a63..92387de 100644 --- a/Scenes/Terminal/MenuScreen.tscn +++ b/Scenes/Terminal/MenuScreen.tscn @@ -8,21 +8,21 @@ script = ExtResource( 3 ) [node name="TopBar" parent="ScreenContainer" index="0"] -margin_right = 800.0 -margin_bottom = 27.0 +offset_right = 800.0 +offset_bottom = 27.0 [node name="TitleArea" parent="ScreenContainer/TopBar" index="0" instance=ExtResource( 2 )] unique_name_in_owner = true -margin_left = 8.0 -margin_right = 792.0 +offset_left = 8.0 +offset_right = 792.0 Title = "[center][/center]" [node name="Content" parent="ScreenContainer" index="1"] -margin_top = 27.0 -margin_right = 800.0 -margin_bottom = 600.0 +offset_top = 27.0 +offset_right = 800.0 +offset_bottom = 600.0 [node name="BottomBar" parent="ScreenContainer" index="2"] -margin_top = 600.0 -margin_right = 800.0 -margin_bottom = 600.0 +offset_top = 600.0 +offset_right = 800.0 +offset_bottom = 600.0 diff --git a/Scenes/Terminal/OutputArea.tscn b/Scenes/Terminal/OutputArea.tscn index 779b0b7..4f41b9a 100644 --- a/Scenes/Terminal/OutputArea.tscn +++ b/Scenes/Terminal/OutputArea.tscn @@ -11,8 +11,8 @@ script = ExtResource( 1 ) [node name="LineContainer" type="VBoxContainer" parent="."] unique_name_in_owner = true -margin_right = 640.0 -margin_bottom = 480.0 +offset_right = 640.0 +offset_bottom = 480.0 size_flags_horizontal = 3 size_flags_vertical = 3 custom_constants/separation = 0 diff --git a/Scenes/Terminal/OutputBlock.tscn b/Scenes/Terminal/OutputBlock.tscn index 962aa0c..3613aed 100644 --- a/Scenes/Terminal/OutputBlock.tscn +++ b/Scenes/Terminal/OutputBlock.tscn @@ -9,8 +9,8 @@ script = ExtResource( 1 ) [node name="ContentLabel" type="RichTextLabel" parent="."] unique_name_in_owner = true -margin_right = 640.0 -margin_bottom = 27.0 +offset_right = 640.0 +offset_bottom = 27.0 size_flags_horizontal = 3 bbcode_enabled = true fit_content_height = true diff --git a/Scenes/Terminal/Screen.tscn b/Scenes/Terminal/Screen.tscn index b003db2..7b853b4 100644 --- a/Scenes/Terminal/Screen.tscn +++ b/Scenes/Terminal/Screen.tscn @@ -10,16 +10,16 @@ anchor_bottom = 1.0 custom_constants/separation = 0 [node name="TopBar" type="PanelContainer" parent="ScreenContainer"] -margin_right = 640.0 +offset_right = 640.0 theme_type_variation = "InvertedPanelContainer" [node name="Content" type="PanelContainer" parent="ScreenContainer"] -margin_right = 640.0 -margin_bottom = 480.0 +offset_right = 640.0 +offset_bottom = 480.0 size_flags_vertical = 3 [node name="BottomBar" type="PanelContainer" parent="ScreenContainer"] -margin_top = 480.0 -margin_right = 640.0 -margin_bottom = 480.0 +offset_top = 480.0 +offset_right = 640.0 +offset_bottom = 480.0 theme_type_variation = "InvertedPanelContainer" diff --git a/Scenes/Terminal/StatusArea.tscn b/Scenes/Terminal/StatusArea.tscn index 21bcd94..1a9e4af 100644 --- a/Scenes/Terminal/StatusArea.tscn +++ b/Scenes/Terminal/StatusArea.tscn @@ -3,17 +3,17 @@ [ext_resource path="res://Scripts/Terminal/StatusArea.cs" type="Script" id=1] [node name="StatusArea" type="HBoxContainer"] -margin_right = 640.0 -margin_bottom = 27.0 +offset_right = 640.0 +offset_bottom = 27.0 script = ExtResource( 1 ) [node name="TitleLabel" type="RichTextLabel" parent="."] unique_name_in_owner = true -margin_right = 640.0 -margin_bottom = 27.0 +offset_right = 640.0 +offset_bottom = 27.0 size_flags_horizontal = 3 theme_type_variation = "InvertedRichTextLabel" bbcode_enabled = true -bbcode_text = "This is where the title goes" +text = "This is where the title goes" text = "This is where the title goes" fit_content_height = true -- cgit v1.2.3