From bed9cd24f1b4f977adad26fae80cf5edc5c1c0db Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 24 Dec 2023 20:39:38 +0100 Subject: [PATCH] Added a linkbutton to the paged articles demo. --- web/paged_articles/Main.tscn | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/web/paged_articles/Main.tscn b/web/paged_articles/Main.tscn index f8954ae..d6faa68 100644 --- a/web/paged_articles/Main.tscn +++ b/web/paged_articles/Main.tscn @@ -9,3 +9,23 @@ script = ExtResource( 1 ) [node name="PagedArticlesWebPage" type="PagedArticlesWebPage" parent="WebServerSimple"] folder = "res://articles/" + +[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 = 393.0 +margin_top = 286.0 +margin_right = 616.0 +margin_bottom = 300.0 +size_flags_horizontal = 4 +text = "Click to open http://127.0.0.1:8080" +uri = "http://127.0.0.1:8080"