Added a linkbutton to the PagedArticle demo.

This commit is contained in:
Relintai 2023-12-24 19:51:06 +01:00
parent 3c244d6619
commit 0c8830647c

View File

@ -10,3 +10,23 @@ script = ExtResource( 1 )
[node name="PagedArticleWebPage" type="PagedArticleWebPage" parent="WebServerSimple"] [node name="PagedArticleWebPage" type="PagedArticleWebPage" parent="WebServerSimple"]
uri_segment = "/" uri_segment = "/"
articles_folder = "res://article/" articles_folder = "res://article/"
[node name="PanelContainer" type="PanelContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
margin_left = 7.0
margin_top = 7.0
margin_right = 1017.0
margin_bottom = 593.0
alignment = 1
[node name="LinkButton" type="LinkButton" parent="PanelContainer/VBoxContainer"]
margin_left = 377.0
margin_top = 286.0
margin_right = 633.0
margin_bottom = 300.0
size_flags_horizontal = 4
text = "Click here to visit http://127.0.0.1:8080/"
uri = "http://127.0.0.1:8080/"