Files
SurfaceSide-UI/components/link_rate.tscn
T

58 lines
1.4 KiB
Plaintext

[gd_scene format=3]
[ext_resource type="Script" path="res://scripts/link_rate.gd" id="1"]
[node name="LinkRate" type="Control"]
custom_minimum_size = Vector2(140, 148)
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("1")
[node name="Readouts" type="VBoxContainer" parent="."]
layout_mode = 1
anchor_left = 0.5
anchor_right = 0.5
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = -70.0
offset_right = 70.0
offset_top = -44.0
offset_bottom = 44.0
theme_override_constants/separation = 0
[node name="Direction" type="Label" parent="Readouts"]
unique_name_in_owner = true
layout_mode = 2
theme_type_variation = &"LinkRateNormal"
theme_override_font_sizes/font_size = 15
text = "↓ DOWNLINK"
horizontal_alignment = 1
[node name="Value" type="Label" parent="Readouts"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "—"
horizontal_alignment = 1
[node name="Units" type="Label" parent="Readouts"]
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = "Gbps"
horizontal_alignment = 1
[node name="Capacity" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchor_left = 0.5
anchor_right = 0.5
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -62.0
offset_right = 62.0
offset_top = -23.0
offset_bottom = -3.0
theme_override_font_sizes/font_size = 14
text = "10 Gbps max"
horizontal_alignment = 1