From 0c8830647c1fb51078cc993edc4bc7540b689936 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 24 Dec 2023 19:51:06 +0100 Subject: [PATCH] Added a linkbutton to the PagedArticle demo. --- web/paged_article/Main.tscn | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/web/paged_article/Main.tscn b/web/paged_article/Main.tscn index 830c351..faf75e6 100644 --- a/web/paged_article/Main.tscn +++ b/web/paged_article/Main.tscn @@ -10,3 +10,23 @@ script = ExtResource( 1 ) [node name="PagedArticleWebPage" type="PagedArticleWebPage" parent="WebServerSimple"] uri_segment = "/" 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/"