设置界面
This commit is contained in:
parent
e40d0fb9b8
commit
af7e8306f7
33
Robo-Bus-A31-HMI/Modules/language_tabs.gd
Normal file
33
Robo-Bus-A31-HMI/Modules/language_tabs.gd
Normal file
@ -0,0 +1,33 @@
|
||||
extends MarginContainer
|
||||
#移动背景
|
||||
@onready var texture_rect: TextureRect = $Control/TextureRect
|
||||
#需要连接信号的节点数组
|
||||
@export var nodearr : Array[Node]
|
||||
signal Onclick(State)
|
||||
var SelectNode = null:
|
||||
set(value):
|
||||
if value != SelectNode:
|
||||
var tween = create_tween()
|
||||
tween.parallel().tween_property(texture_rect, "global_position", value.global_position, 0.2).set_ease(Tween.EASE_OUT)
|
||||
tween.parallel().tween_property(texture_rect,"size",value.size,0.2).set_ease(Tween.EASE_OUT)
|
||||
SelectNode = value
|
||||
var OnClickIsCooling = false:
|
||||
set(value):
|
||||
OnClickIsCooling = value
|
||||
await get_tree().create_timer(0.2).timeout
|
||||
OnClickIsCooling = false
|
||||
|
||||
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
await get_tree().create_timer(0.1).timeout
|
||||
SelectNode = %Chinese
|
||||
for node : BaseControl in nodearr:
|
||||
node.on_click.connect(func(_node):
|
||||
if !OnClickIsCooling:
|
||||
SelectNode = _node
|
||||
OnClickIsCooling = true
|
||||
Onclick.emit(_node.name)
|
||||
)
|
||||
pass # Replace with function body.
|
65
Robo-Bus-A31-HMI/Modules/language_tabs.tscn
Normal file
65
Robo-Bus-A31-HMI/Modules/language_tabs.tscn
Normal file
@ -0,0 +1,65 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://df31a6g0oklv"]
|
||||
|
||||
[ext_resource type="Script" path="res://Modules/language_tabs.gd" id="1_05fei"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddc0v6muv1x37" path="res://pad_hmi_ui/setting/language_btn.png" id="2_cruvh"]
|
||||
[ext_resource type="Script" path="res://common/base/base_control.gd" id="3_iu68l"]
|
||||
|
||||
[node name="LanguageTabs" type="MarginContainer" node_paths=PackedStringArray("nodearr")]
|
||||
offset_right = 429.0
|
||||
offset_bottom = 105.0
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
script = ExtResource("1_05fei")
|
||||
nodearr = [NodePath("HBoxContainer/Chinese"), NodePath("HBoxContainer/English"), NodePath("HBoxContainer/Japanese")]
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Control"]
|
||||
layout_mode = 1
|
||||
offset_right = 134.0
|
||||
offset_bottom = 105.0
|
||||
pivot_offset = Vector2(52, 52)
|
||||
texture = ExtResource("2_cruvh")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
[node name="Chinese" type="MarginContainer" parent="HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(105, 105)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("3_iu68l")
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/Chinese"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 26
|
||||
text = "中文"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="English" type="MarginContainer" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(105, 105)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("3_iu68l")
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/English"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 26
|
||||
text = "English"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Japanese" type="MarginContainer" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(105, 105)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("3_iu68l")
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/Japanese"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 26
|
||||
text = "日本語"
|
||||
horizontal_alignment = 1
|
8
Robo-Bus-A31-HMI/Modules/setting.tscn
Normal file
8
Robo-Bus-A31-HMI/Modules/setting.tscn
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_scene format=3 uid="uid://33cgqbhyfl47"]
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=67 format=4 uid="uid://cxqxr0p1wkkdy"]
|
||||
[gd_scene load_steps=70 format=4 uid="uid://cxqxr0p1wkkdy"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://vc7lcwu566lf" path="res://1.png" id="1_21tqn"]
|
||||
[ext_resource type="Texture2D" uid="uid://blakv4vhyfyro" path="res://pad_hmi_ui/home/home page_bg.png" id="1_brgxr"]
|
||||
@ -25,6 +25,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dnqvtj33ialxi" path="res://pad_hmi_ui/information/can_dis.png" id="48_tlc84"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpdjnd1u6xr2n" path="res://pad_hmi_ui/setting/setting_bg.png" id="48_vfrk1"]
|
||||
[ext_resource type="PackedScene" uid="uid://dd5e3n5lfbffj" path="res://Modules/information.tscn" id="49_s7rxh"]
|
||||
[ext_resource type="PackedScene" uid="uid://df31a6g0oklv" path="res://Modules/language_tabs.tscn" id="50_8t5s4"]
|
||||
[ext_resource type="Texture2D" uid="uid://dsl2hpmaayodk" path="res://pad_hmi_ui/taskbar/PIX_logo.png" id="50_86b81"]
|
||||
[ext_resource type="PackedScene" uid="uid://84vxs0ksabkq" path="res://Modules/tabs.tscn" id="50_mi4fd"]
|
||||
[ext_resource type="Texture2D" uid="uid://ruvsjrmynxch" path="res://pad_hmi_ui/taskbar/title.png" id="51_ptwd7"]
|
||||
@ -906,6 +907,12 @@ corner_radius_top_right = 1024
|
||||
corner_radius_bottom_right = 1024
|
||||
corner_radius_bottom_left = 1024
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ro1pd"]
|
||||
texture = ExtResource("65_6ujfn")
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_heghw"]
|
||||
texture = ExtResource("70_xatqx")
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@ -1624,10 +1631,308 @@ unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Information" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("49_s7rxh")]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Setting" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -2528.0
|
||||
offset_top = -792.0
|
||||
offset_right = 32.0
|
||||
offset_bottom = 808.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("48_vfrk1")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting"]
|
||||
layout_mode = 2
|
||||
offset_right = 2316.0
|
||||
offset_bottom = 1520.0
|
||||
theme_override_constants/separation = 32
|
||||
|
||||
[node name="margin" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 1.01
|
||||
theme_override_constants/margin_left = 53
|
||||
theme_override_constants/margin_top = 65
|
||||
theme_override_constants/margin_right = 54
|
||||
theme_override_constants/margin_bottom = 50
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/line_spacing = 0
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "系统设置"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 37)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "地图设置"
|
||||
|
||||
[node name="tab2" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 53)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 150
|
||||
theme_override_constants/v_separation = 143
|
||||
columns = 3
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("58_7tose")
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("58_7tose")
|
||||
|
||||
[node name="TextureRect3" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("58_7tose")
|
||||
|
||||
[node name="TextureRect4" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("58_7tose")
|
||||
|
||||
[node name="TextureRect5" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("58_7tose")
|
||||
|
||||
[node name="tab3" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 83)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("67_nkq62")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 53
|
||||
theme_override_constants/margin_top = 25
|
||||
theme_override_constants/margin_right = 59
|
||||
theme_override_constants/margin_bottom = 83
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 32
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 33
|
||||
text = "进度 - 45%"
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
value = 99.0
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("68_wqbbc")
|
||||
|
||||
[node name="tab4" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 47)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_ro1pd")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 52
|
||||
theme_override_constants/margin_top = 11
|
||||
theme_override_constants/margin_right = 52
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 34.895)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 2
|
||||
theme_override_constants/line_spacing = 15
|
||||
theme_override_font_sizes/font_size = 27
|
||||
text = "[INFO] [launch]: All log files can be found below
|
||||
/home/khalil/.ros/log/2023-11-30-16-25-47-793699-khalil-417884
|
||||
[INFO] [launch]: Default logging verbosity is set to INFO"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 1.15
|
||||
theme_override_constants/separation = 30
|
||||
|
||||
[node name="margin" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 1.34
|
||||
theme_override_constants/margin_left = 45
|
||||
theme_override_constants/margin_top = 15
|
||||
theme_override_constants/margin_right = 48
|
||||
theme_override_constants/margin_bottom = 54
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 19
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "25℃"
|
||||
|
||||
[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(86.18, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "2024-04-27"
|
||||
|
||||
[node name="Label3" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "00:35:24"
|
||||
|
||||
[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 110.275)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 98
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 48
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 33
|
||||
text = "显示模式"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("66_i0htr")
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 48
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 33
|
||||
text = "视图切换"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("65_ljbtv")
|
||||
|
||||
[node name="tab2" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 53)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 50
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 40
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "系统语言"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LanguageTabs" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer/MarginContainer" instance=ExtResource("50_8t5s4")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 1
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 1.55
|
||||
theme_override_constants/separation = 40
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "连接服务器"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 26
|
||||
|
||||
[node name="WebsocketAddress" type="PanelContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_heghw")
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WebsocketAddress"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "ws://192.168.4.88:9091"
|
||||
alignment = 1
|
||||
flat = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("60_jy5qr")
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
visible = false
|
||||
modulate = Color(1, 1, 1, 0.447059)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@ -1635,11 +1940,10 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("37_omreu")
|
||||
texture = ExtResource("57_v7hfe")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
Loading…
Reference in New Issue
Block a user