108 lines
2.6 KiB
Plaintext
108 lines
2.6 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://addons/github-integration/scripts/RepositoryItem.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
content_margin_left = 0.0
|
|
content_margin_right = 0.0
|
|
content_margin_top = 0.0
|
|
content_margin_bottom = 0.0
|
|
bg_color = Color( 0.6, 0.6, 0.6, 0 )
|
|
|
|
[node name="RepositoryItem" type="PanelContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.027
|
|
margin_bottom = 1.8
|
|
custom_styles/panel = SubResource( 1 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="BG" type="ColorRect" parent="."]
|
|
visible = false
|
|
margin_right = 1024.0
|
|
margin_bottom = 18.0
|
|
color = Color( 1, 1, 1, 0.235294 )
|
|
|
|
[node name="Repository" type="HBoxContainer" parent="."]
|
|
margin_right = 1024.0
|
|
margin_bottom = 18.0
|
|
custom_constants/separation = 0
|
|
alignment = 1
|
|
|
|
[node name="Name" type="HBoxContainer" parent="Repository"]
|
|
margin_right = 341.0
|
|
margin_bottom = 18.0
|
|
size_flags_horizontal = 3
|
|
alignment = 1
|
|
|
|
[node name="Icon" type="TextureRect" parent="Repository/Name"]
|
|
margin_top = 1.0
|
|
margin_right = 16.0
|
|
margin_bottom = 17.0
|
|
rect_min_size = Vector2( 16, 16 )
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
expand = true
|
|
stretch_mode = 6
|
|
|
|
[node name="Text" type="Label" parent="Repository/Name"]
|
|
margin_left = 20.0
|
|
margin_top = 2.0
|
|
margin_right = 341.0
|
|
margin_bottom = 16.0
|
|
size_flags_horizontal = 3
|
|
text = "RepositoryName"
|
|
|
|
[node name="Stars" type="HBoxContainer" parent="Repository"]
|
|
margin_left = 341.0
|
|
margin_right = 682.0
|
|
margin_bottom = 18.0
|
|
size_flags_horizontal = 3
|
|
alignment = 1
|
|
|
|
[node name="Icon" type="TextureRect" parent="Repository/Stars"]
|
|
margin_top = 1.0
|
|
margin_right = 16.0
|
|
margin_bottom = 17.0
|
|
rect_min_size = Vector2( 16, 16 )
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
expand = true
|
|
stretch_mode = 6
|
|
|
|
[node name="Amount" type="Label" parent="Repository/Stars"]
|
|
margin_left = 20.0
|
|
margin_top = 2.0
|
|
margin_right = 341.0
|
|
margin_bottom = 16.0
|
|
size_flags_horizontal = 3
|
|
text = "Stars: 0"
|
|
|
|
[node name="Forks" type="HBoxContainer" parent="Repository"]
|
|
margin_left = 682.0
|
|
margin_right = 1024.0
|
|
margin_bottom = 18.0
|
|
size_flags_horizontal = 3
|
|
alignment = 1
|
|
|
|
[node name="Icon" type="TextureRect" parent="Repository/Forks"]
|
|
margin_top = 1.0
|
|
margin_right = 16.0
|
|
margin_bottom = 17.0
|
|
rect_min_size = Vector2( 16, 16 )
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
expand = true
|
|
stretch_mode = 6
|
|
|
|
[node name="Amount" type="Label" parent="Repository/Forks"]
|
|
margin_left = 20.0
|
|
margin_top = 2.0
|
|
margin_right = 342.0
|
|
margin_bottom = 16.0
|
|
size_flags_horizontal = 3
|
|
text = "Forks: 0"
|
|
[connection signal="gui_input" from="." to="." method="_on_RepositoryItem_gui_input"]
|