-
Notifications
You must be signed in to change notification settings - Fork 10
/
test.tscn
51 lines (38 loc) · 1.25 KB
/
test.tscn
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
41
42
43
44
45
46
47
48
49
50
51
[gd_scene load_steps=3 format=3 uid="uid://b45i8v0pti5s3"]
[ext_resource type="Script" path="res://scripts/new_ui/HBUIClearBar.gd" id="1_xy0v0"]
[sub_resource type="GDScript" id="GDScript_wpdnd"]
script/source = "extends Control
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_line_edit_text_submitted(new_text):
$InputGlyphRect.action_name = new_text
"
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = SubResource("GDScript_wpdnd")
[node name="HBUIClearBar" type="Control" parent="."]
anchors_preset = 0
offset_left = 637.0
offset_top = 538.0
offset_right = 1747.0
offset_bottom = 687.0
script = ExtResource("1_xy0v0")
[node name="InputGlyphRect" type="InputGlyphRect" parent="."]
layout_mode = 0
offset_right = 368.0
offset_bottom = 51.0
action_name = &"note_left"
[node name="LineEdit" type="LineEdit" parent="."]
layout_mode = 0
offset_right = 124.0
offset_bottom = 39.0
[connection signal="text_submitted" from="LineEdit" to="." method="_on_line_edit_text_submitted"]