72 lines
2.5 KiB
Plaintext
72 lines
2.5 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://c3kajrpp2ux7"]
|
|
|
|
[ext_resource type="Theme" uid="uid://b8rk41gjual2b" path="res://Assets/DefaultTheme.tres" id="1_tbi88"]
|
|
[ext_resource type="Texture2D" uid="uid://bwfbs4jxbia3o" path="res://Assets/Icons/microphone_track.svg" id="2_r2pin"]
|
|
|
|
[node name="Track" type="Control"]
|
|
clip_children = 1
|
|
custom_minimum_size = Vector2(128, 74)
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 382.0
|
|
offset_bottom = 74.0
|
|
theme = ExtResource("1_tbi88")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer"]
|
|
clip_children = 1
|
|
layout_mode = 2
|
|
|
|
[node name="ColorStrip" type="ColorRect" parent="PanelContainer/HBoxContainer"]
|
|
self_modulate = Color(0.699653, 0.699654, 0.699653, 1)
|
|
clip_contents = true
|
|
custom_minimum_size = Vector2(4, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="Body" type="MarginContainer" parent="PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/margin_left = 4
|
|
theme_override_constants/margin_top = 4
|
|
theme_override_constants/margin_right = 4
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/HBoxContainer/Body"]
|
|
layout_mode = 2
|
|
|
|
[node name="NameIconControls" type="VBoxContainer" parent="PanelContainer/HBoxContainer/Body/HBoxContainer"]
|
|
clip_children = 1
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 4
|
|
alignment = 1
|
|
|
|
[node name="IconAndName" type="HBoxContainer" parent="PanelContainer/HBoxContainer/Body/HBoxContainer/NameIconControls"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="TrackIcon" type="TextureRect" parent="PanelContainer/HBoxContainer/Body/HBoxContainer/NameIconControls/IconAndName"]
|
|
modulate = Color(0.43134, 0.43134, 0.43134, 1)
|
|
custom_minimum_size = Vector2(16, 16)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
texture = ExtResource("2_r2pin")
|
|
expand_mode = 2
|
|
|
|
[node name="TrackName" type="LineEdit" parent="PanelContainer/HBoxContainer/Body/HBoxContainer/NameIconControls/IconAndName"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Track Name"
|
|
expand_to_text_length = true
|
|
context_menu_enabled = false
|
|
caret_blink = true
|
|
|
|
[connection signal="text_submitted" from="PanelContainer/HBoxContainer/Body/HBoxContainer/NameIconControls/IconAndName/TrackName" to="PanelContainer/HBoxContainer/Body/HBoxContainer/NameIconControls/IconAndName/TrackName" method="release_focus" unbinds=1]
|