aboutsummaryrefslogtreecommitdiff
path: root/client/gui/menus/settings/settings_row.tscn
blob: 09378ab61a9fe4d9c73f7edc955709a0de68a286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[gd_scene load_steps=7 format=3 uid="uid://o5e5vpem8w0k"]

[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://gui/resources/theme/theme.tres" id="1_iij3k"]
[ext_resource type="Script" uid="uid://b3m1f76o5qo68" path="res://gui/menus/settings/settings_row.gd" id="2_l8i7p"]
[ext_resource type="FontFile" uid="uid://5ixo6b3bd3km" path="res://gui/resources/fonts/font-josefin-sans.woff2" id="3_7k5da"]
[ext_resource type="Texture2D" uid="uid://cucnmy0j5n8l8" path="res://gui/resources/icons/reset.svg" id="4_bj3dr"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_pk3rs"]
content_margin_left = 16.0

[sub_resource type="FontVariation" id="FontVariation_o6i7s"]
base_font = ExtResource("3_7k5da")

[node name="SettingsRow" type="PanelContainer"]
offset_right = 105.0
offset_bottom = 23.0
size_flags_horizontal = 3
theme = ExtResource("1_iij3k")
script = ExtResource("2_l8i7p")

[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2

[node name="Label" type="Label" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = SubResource("StyleBoxEmpty_pk3rs")

[node name="BoxContainer" type="BoxContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(300, 50)
layout_mode = 2
alignment = 2

[node name="Reset" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_fonts/font = SubResource("FontVariation_o6i7s")
theme_override_font_sizes/font_size = 24
icon = ExtResource("4_bj3dr")

[connection signal="pressed" from="HBoxContainer/Reset" to="." method="_on_reset_pressed"]