hmmm
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://crf7vlm3smlyo"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/settings/settings_screen.gd" id="1_set"]
|
||||
[ext_resource type="Script" uid="uid://bmlcf0banjdxd" path="res://scenes/settings/settings_screen.gd" id="1_set"]
|
||||
|
||||
[node name="SettingsScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -18,7 +18,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.094, 0.094, 0.137, 1.0)
|
||||
color = Color(0.094, 0.094, 0.137, 1)
|
||||
|
||||
[node name="Layout" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -32,28 +32,28 @@ theme_override_constants/separation = 0
|
||||
[node name="TopBar" type="MarginContainer" parent="Layout"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="TopBarInner" type="HBoxContainer" parent="Layout/TopBar"]
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="BackBtn" type="Button" parent="Layout/TopBar/TopBarInner"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(40, 40)
|
||||
text = "←"
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "←"
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Layout/TopBar/TopBarInner"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Settings"
|
||||
vertical_alignment = 1
|
||||
theme_override_font_sizes/font_size = 18
|
||||
|
||||
[node name="HSep" type="HSeparator" parent="Layout"]
|
||||
layout_mode = 2
|
||||
@@ -70,8 +70,8 @@ size_flags_horizontal = 3
|
||||
[node name="ContentMargin" type="MarginContainer" parent="Layout/ScrollContainer/Content"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 20
|
||||
theme_override_constants/margin_right = 20
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 20
|
||||
theme_override_constants/margin_bottom = 20
|
||||
|
||||
[node name="Sections" type="VBoxContainer" parent="Layout/ScrollContainer/Content/ContentMargin"]
|
||||
@@ -83,28 +83,27 @@ layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="AudioLabel" type="Label" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection"]
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 2
|
||||
text = "AUDIO"
|
||||
modulate = Color(0.6, 0.6, 0.65, 1.0)
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "AUDIO"
|
||||
|
||||
[node name="MusicRow" type="HBoxContainer" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="MusicLabel" type="Label" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection/MusicRow"]
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Music"
|
||||
vertical_alignment = 1
|
||||
theme_override_font_sizes/font_size = 14
|
||||
|
||||
[node name="MusicSlider" type="HSlider" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection/MusicRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
min_value = 0.0
|
||||
max_value = 1.0
|
||||
step = 0.01
|
||||
value = 1.0
|
||||
@@ -112,26 +111,25 @@ value = 1.0
|
||||
[node name="MusicMuteBtn" type="CheckButton" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection/MusicRow"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Mute"
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "Mute"
|
||||
|
||||
[node name="SfxRow" type="HBoxContainer" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="SfxLabel" type="Label" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection/SfxRow"]
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "SFX"
|
||||
vertical_alignment = 1
|
||||
theme_override_font_sizes/font_size = 14
|
||||
|
||||
[node name="SfxSlider" type="HSlider" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection/SfxRow"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
min_value = 0.0
|
||||
max_value = 1.0
|
||||
step = 0.01
|
||||
value = 1.0
|
||||
@@ -139,18 +137,18 @@ value = 1.0
|
||||
[node name="SfxMuteBtn" type="CheckButton" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/AudioSection/SfxRow"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Mute"
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "Mute"
|
||||
|
||||
[node name="GameplaySection" type="VBoxContainer" parent="Layout/ScrollContainer/Content/ContentMargin/Sections"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="GameplayLabel" type="Label" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/GameplaySection"]
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 2
|
||||
text = "GAMEPLAY"
|
||||
modulate = Color(0.6, 0.6, 0.65, 1.0)
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "GAMEPLAY"
|
||||
|
||||
[node name="CameraFollowRow" type="HBoxContainer" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/GameplaySection"]
|
||||
layout_mode = 2
|
||||
@@ -159,12 +157,12 @@ theme_override_constants/separation = 12
|
||||
[node name="CameraFollowLabel" type="Label" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/GameplaySection/CameraFollowRow"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Center camera on selected unit"
|
||||
vertical_alignment = 1
|
||||
theme_override_font_sizes/font_size = 14
|
||||
|
||||
[node name="CameraFollowBtn" type="CheckButton" parent="Layout/ScrollContainer/Content/ContentMargin/Sections/GameplaySection/CameraFollowRow"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "On"
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "On"
|
||||
|
||||
Reference in New Issue
Block a user