trailer settings focus

This commit is contained in:
cakipaul 2025-07-15 18:40:05 +08:00
parent bc7c73ba69
commit 254e8a15e0

View File

@ -96,6 +96,10 @@ theme_override_styles/separator = SubResource("StyleBoxEmpty_2v8ms")
[node name="LangLeft" type="Button" parent="耳机提示/设置界面/VBoxContainer/语言"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_right = NodePath("../LangRight")
focus_neighbor_bottom = NodePath("../../CaptionBox/CaptionLeft")
focus_next = NodePath("../LangRight")
focus_previous = NodePath("../../ConfirmButton")
text = "<"
flat = true
@ -109,22 +113,13 @@ horizontal_alignment = 1
[node name="LangRight" type="Button" parent="耳机提示/设置界面/VBoxContainer/语言"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_left = NodePath("../LangLeft")
focus_neighbor_bottom = NodePath("../../CaptionBox/CaptionRight")
focus_next = NodePath("../../CaptionBox/CaptionLeft")
focus_previous = NodePath("../LangLeft")
text = ">"
flat = true
[node name="OptionButtonLanguage" type="OptionButton" parent="耳机提示/设置界面/VBoxContainer/语言"]
unique_name_in_owner = true
visible = false
layout_mode = 2
focus_neighbor_bottom = NodePath("../../CaptionBox/OptionButtonCaption")
selected = 0
allow_reselect = true
item_count = 2
popup/item_0/text = "简体中文"
popup/item_0/id = 0
popup/item_1/text = "English"
popup/item_1/id = 2
[node name="CaptionBox" type="HBoxContainer" parent="耳机提示/设置界面/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
@ -140,22 +135,14 @@ layout_mode = 2
theme_override_constants/separation = 31
theme_override_styles/separator = SubResource("StyleBoxEmpty_2v8ms")
[node name="OptionButtonCaption" type="OptionButton" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
unique_name_in_owner = true
visible = false
layout_mode = 2
focus_neighbor_top = NodePath("../../语言/OptionButtonLanguage")
selected = 0
allow_reselect = true
item_count = 2
popup/item_0/text = "上海话"
popup/item_0/id = 1
popup/item_1/text = "普通话"
popup/item_1/id = 0
[node name="CaptionLeft" type="Button" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_top = NodePath("../../语言/LangLeft")
focus_neighbor_right = NodePath("../CaptionRight")
focus_neighbor_bottom = NodePath("../../ConfirmButton")
focus_next = NodePath("../CaptionRight")
focus_previous = NodePath("../../语言/LangRight")
text = "<"
flat = true
@ -169,6 +156,12 @@ horizontal_alignment = 1
[node name="CaptionRight" type="Button" parent="耳机提示/设置界面/VBoxContainer/CaptionBox"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_left = NodePath("../CaptionLeft")
focus_neighbor_top = NodePath("../../语言/LangRight")
focus_neighbor_right = NodePath("../../ConfirmButton")
focus_neighbor_bottom = NodePath("../../ConfirmButton")
focus_next = NodePath("../../ConfirmButton")
focus_previous = NodePath("../CaptionLeft")
text = ">"
flat = true
@ -177,6 +170,9 @@ unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
focus_neighbor_top = NodePath("../CaptionBox/CaptionLeft")
focus_next = NodePath("../语言/LangLeft")
focus_previous = NodePath("../CaptionBox/CaptionRight")
theme_override_fonts/font = ExtResource("7_pe403")
theme_override_font_sizes/font_size = 11
text = "setting_确认"