add releases view and component
This commit is contained in:
3
UI/Main/ReleasesView.gd
Normal file
3
UI/Main/ReleasesView.gd
Normal file
@ -0,0 +1,3 @@
|
||||
extends VBoxContainer
|
||||
|
||||
const ITEM_SCENE := preload("res://UI/Components/ReleaseItem.tscn")
|
35
UI/Main/ReleasesView.tscn
Normal file
35
UI/Main/ReleasesView.tscn
Normal file
@ -0,0 +1,35 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://irfav51b5hf6"]
|
||||
|
||||
[ext_resource type="Script" path="res://UI/Main/ReleasesView.gd" id="1_firao"]
|
||||
|
||||
[node name="ReleasesView" type="VBoxContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_firao")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "Releases"
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ReleaseItemsContainer" type="VBoxContainer" parent="PanelContainer/ScrollContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="FetchButton" type="Button" parent="CenterContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Fetch"
|
Reference in New Issue
Block a user