OverviewFilesCommitsIssuesDocsReleasesPeers

hyperswarm-peer / project / test_peer.tscn

51 lines · tscn ref:
[gd_scene load_steps=2 format=3]

[ext_resource type="Script" path="res://test_peer.gd" id="1"]

[node name="TestPeer" type="Node"]
script = ExtResource("1")

[node name="UI" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBox" type="VBoxContainer" parent="UI"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
offset_left = 10.0
offset_top = 10.0
offset_right = -10.0
offset_bottom = -10.0

[node name="StatusLabel" type="Label" parent="UI/VBox"]
layout_mode = 2
text = "Disconnected"

[node name="LogText" type="RichTextLabel" parent="UI/VBox"]
layout_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
scroll_following = true

[node name="HBox" type="HBoxContainer" parent="UI/VBox"]
layout_mode = 2
custom_minimum_size = Vector2(0, 36)

[node name="InputField" type="LineEdit" parent="UI/VBox/HBox"]
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Type a message..."

[node name="SendButton" type="Button" parent="UI/VBox/HBox"]
layout_mode = 2
custom_minimum_size = Vector2(80, 0)
text = "Send"