Files
leonwww/flumi/Scenes/NetworkRequestItem.tscn

76 lines
2.3 KiB
Plaintext
Raw Normal View History

2025-09-05 19:07:21 +03:00
[gd_scene load_steps=4 format=3 uid="uid://dqvgywj71hfry"]
2025-09-05 16:22:56 +03:00
2025-09-06 17:12:06 +03:00
[ext_resource type="Script" uid="uid://bcs7m624uvv3x" path="res://Scripts/Browser/NetworkRequestItem.gd" id="1_8v2qr"]
2025-09-05 19:07:21 +03:00
[ext_resource type="StyleBox" uid="uid://bxmcq4y0i4hl4" path="res://Resources/NetworkRequestItem_Normal.tres" id="2_normal"]
[ext_resource type="StyleBox" uid="uid://clvnmfql36jit" path="res://Resources/NetworkRequestItem_Selected.tres" id="3_selected"]
2025-09-05 16:22:56 +03:00
[node name="NetworkRequestItem" type="PanelContainer"]
custom_minimum_size = Vector2(0, 28)
2025-09-05 19:07:21 +03:00
theme_override_styles/panel = ExtResource("2_normal")
2025-09-05 16:22:56 +03:00
script = ExtResource("1_8v2qr")
2025-09-05 19:07:21 +03:00
metadata/normal_style = ExtResource("2_normal")
metadata/selected_style = ExtResource("3_selected")
2025-09-05 16:22:56 +03:00
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
2025-09-05 19:07:21 +03:00
theme_override_constants/separation = 8
2025-09-05 16:22:56 +03:00
[node name="IconContainer" type="Control" parent="HBoxContainer"]
custom_minimum_size = Vector2(20, 20)
2025-09-05 19:07:21 +03:00
layout_mode = 2
2025-09-05 16:22:56 +03:00
[node name="Icon" type="TextureRect" parent="HBoxContainer/IconContainer"]
2025-09-05 19:07:21 +03:00
custom_minimum_size = Vector2(16, 16)
2025-09-05 16:22:56 +03:00
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -8.0
offset_top = -8.0
offset_right = 8.0
offset_bottom = 8.0
grow_horizontal = 2
grow_vertical = 2
[node name="NameLabel" type="Label" parent="HBoxContainer"]
2025-09-05 19:07:21 +03:00
clip_contents = true
custom_minimum_size = Vector2(140, 0)
2025-09-05 16:22:56 +03:00
layout_mode = 2
size_flags_horizontal = 3
2025-11-06 15:39:58 +08:00
text = "请求名称"
2025-09-05 16:22:56 +03:00
vertical_alignment = 1
2025-09-05 19:07:21 +03:00
text_overrun_behavior = 3
2025-09-05 16:22:56 +03:00
[node name="StatusLabel" type="Label" parent="HBoxContainer"]
custom_minimum_size = Vector2(60, 0)
2025-09-05 19:07:21 +03:00
layout_mode = 2
2025-09-05 16:22:56 +03:00
text = "200"
horizontal_alignment = 1
vertical_alignment = 1
2025-09-05 19:07:21 +03:00
metadata/success_color = Color(0, 1, 0, 1)
metadata/error_color = Color(1, 0, 0, 1)
metadata/pending_color = Color(1, 1, 0, 1)
2025-09-05 16:22:56 +03:00
[node name="TypeLabel" type="Label" parent="HBoxContainer"]
custom_minimum_size = Vector2(60, 0)
2025-09-05 19:07:21 +03:00
layout_mode = 2
2025-09-05 16:22:56 +03:00
text = "Fetch"
horizontal_alignment = 1
vertical_alignment = 1
[node name="SizeLabel" type="Label" parent="HBoxContainer"]
2025-09-05 19:07:21 +03:00
custom_minimum_size = Vector2(60, 0)
2025-09-05 16:22:56 +03:00
layout_mode = 2
text = "1.2 KB"
horizontal_alignment = 2
vertical_alignment = 1
[node name="TimeLabel" type="Label" parent="HBoxContainer"]
custom_minimum_size = Vector2(80, 0)
2025-09-05 19:07:21 +03:00
layout_mode = 2
2025-09-05 16:22:56 +03:00
text = "125ms"
horizontal_alignment = 2
2025-09-05 19:07:21 +03:00
vertical_alignment = 1