visual adjustments to options window
This commit is contained in:
parent
b1ab298f1b
commit
61806723ba
4 changed files with 93 additions and 57 deletions
|
@ -115,9 +115,9 @@ anchors_preset = 2
|
|||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 60.0
|
||||
offset_top = -380.0
|
||||
offset_top = -420.0
|
||||
offset_right = 324.0
|
||||
offset_bottom = -11.0
|
||||
offset_bottom = -52.0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="EditorButton" type="Button" parent="Buttons"]
|
||||
|
@ -761,44 +761,54 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
script = ExtResource("8_wdeli")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="SettingsScreen/DialogPanel/GraphicsPanel"]
|
||||
layout_direction = 2
|
||||
[node name="AntialiasingLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.5
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = -4.0
|
||||
offset_bottom = 36.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = -25
|
||||
|
||||
[node name="labels" type="VBoxContainer" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(180, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 15
|
||||
|
||||
[node name="AntialiasingLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/labels"]
|
||||
layout_mode = 2
|
||||
text = "Antialiasing (MSAA):"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="SSAALabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/labels"]
|
||||
layout_mode = 2
|
||||
[node name="SSAALabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.5
|
||||
offset_left = 4.0
|
||||
offset_top = 40.0
|
||||
offset_right = -4.0
|
||||
offset_bottom = 72.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Screenspace AA:"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="FOVLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/labels"]
|
||||
layout_mode = 2
|
||||
[node name="FOVLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.5
|
||||
offset_left = 4.0
|
||||
offset_top = 76.0
|
||||
offset_right = -4.0
|
||||
offset_bottom = 124.0
|
||||
text = "Field of View:"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="settings" type="VBoxContainer" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
|
||||
[node name="option_aa_msaa" type="OptionButton" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings"]
|
||||
layout_mode = 2
|
||||
[node name="AAOption" type="OptionButton" parent="SettingsScreen/DialogPanel/GraphicsPanel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_right = 1.0
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = -4.0
|
||||
offset_bottom = 36.0
|
||||
alignment = 1
|
||||
selected = 1
|
||||
item_count = 4
|
||||
|
@ -811,8 +821,15 @@ popup/item_2/id = 2
|
|||
popup/item_3/text = "8x"
|
||||
popup/item_3/id = 3
|
||||
|
||||
[node name="option_aa_ss" type="OptionButton" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings"]
|
||||
layout_mode = 2
|
||||
[node name="SSAAOption" type="OptionButton" parent="SettingsScreen/DialogPanel/GraphicsPanel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_right = 1.0
|
||||
offset_left = 4.0
|
||||
offset_top = 40.0
|
||||
offset_right = -4.0
|
||||
offset_bottom = 72.0
|
||||
alignment = 1
|
||||
selected = 1
|
||||
item_count = 2
|
||||
|
@ -821,37 +838,55 @@ popup/item_0/id = 0
|
|||
popup/item_1/text = "FXAA"
|
||||
popup/item_1/id = 1
|
||||
|
||||
[node name="fov_slider" type="HSlider" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings"]
|
||||
[node name="FOVSlider" type="HSlider" parent="SettingsScreen/DialogPanel/GraphicsPanel"]
|
||||
custom_minimum_size = Vector2(215, 0)
|
||||
layout_mode = 2
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_right = 1.0
|
||||
offset_left = 4.0
|
||||
offset_top = 76.0
|
||||
offset_right = -4.0
|
||||
offset_bottom = 92.0
|
||||
min_value = 30.0
|
||||
max_value = 120.0
|
||||
value = 80.0
|
||||
ticks_on_borders = true
|
||||
|
||||
[node name="MinLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings/fov_slider"]
|
||||
layout_mode = 0
|
||||
[node name="MinLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/FOVSlider"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 16.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 48.0
|
||||
offset_bottom = 32.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "30"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="CurrentLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings/fov_slider"]
|
||||
layout_mode = 0
|
||||
[node name="CurrentLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/FOVSlider"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 16.0
|
||||
offset_right = 215.0
|
||||
offset_bottom = 48.0
|
||||
offset_bottom = 32.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "FOV"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="MaxLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings/fov_slider"]
|
||||
layout_mode = 0
|
||||
offset_left = 175.0
|
||||
[node name="MaxLabel" type="Label" parent="SettingsScreen/DialogPanel/GraphicsPanel/FOVSlider"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 16.0
|
||||
offset_right = 215.0
|
||||
offset_bottom = 48.0
|
||||
offset_bottom = 32.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "120"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
@ -889,6 +924,6 @@ vertical_alignment = 1
|
|||
[connection signal="pressed" from="CreditsScreen/InputEater" to="." method="_on_input_eater_pressed"]
|
||||
[connection signal="pressed" from="SettingsScreen/InputEater" to="." method="_on_input_eater_pressed"]
|
||||
[connection signal="tab_changed" from="SettingsScreen/DialogPanel/TabBar" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_tab_bar_tab_changed"]
|
||||
[connection signal="item_selected" from="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings/option_aa_msaa" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_option_aa_msaa_item_selected"]
|
||||
[connection signal="item_selected" from="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings/option_aa_ss" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_option_aa_ss_item_selected"]
|
||||
[connection signal="value_changed" from="SettingsScreen/DialogPanel/GraphicsPanel/HBoxContainer/settings/fov_slider" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_fov_slider_value_changed"]
|
||||
[connection signal="item_selected" from="SettingsScreen/DialogPanel/GraphicsPanel/AAOption" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_option_aa_msaa_item_selected"]
|
||||
[connection signal="item_selected" from="SettingsScreen/DialogPanel/GraphicsPanel/SSAAOption" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_option_aa_ss_item_selected"]
|
||||
[connection signal="value_changed" from="SettingsScreen/DialogPanel/GraphicsPanel/FOVSlider" to="SettingsScreen/DialogPanel/GraphicsPanel" method="_on_fov_slider_value_changed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue