From cd29182f1feea77df1e2dc92c86c72c4b2b3f551 Mon Sep 17 00:00:00 2001 From: Anthony Wilcox <35226681+antonwilc0x@users.noreply.github.com> Date: Sun, 28 Apr 2019 06:20:53 -0400 Subject: [PATCH] Resizable windows - Made the credits and license windows resizable --- project/scn/TitleScn.tscn | 7 ++++--- project/scn/WinDialogs.tscn | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/project/scn/TitleScn.tscn b/project/scn/TitleScn.tscn index 2a5369a..8588435 100644 --- a/project/scn/TitleScn.tscn +++ b/project/scn/TitleScn.tscn @@ -19,6 +19,7 @@ __meta__ = { } [node name="WordrobeBG" type="Sprite" parent="Modern"] +visible = false position = Vector2( 492.609, 280.27 ) texture = ExtResource( 3 ) __meta__ = { @@ -34,10 +35,10 @@ __meta__ = { } [node name="MenuRf" type="ReferenceRect" parent="."] -margin_left = 221.0 -margin_top = 80.0 +margin_left = 202.0 +margin_top = 67.0 margin_right = 762.0 -margin_bottom = 395.0 +margin_bottom = 518.0 [node name="StartVbox" type="VBoxContainer" parent="MenuRf"] anchor_left = 0.5 diff --git a/project/scn/WinDialogs.tscn b/project/scn/WinDialogs.tscn index b839364..c59972a 100644 --- a/project/scn/WinDialogs.tscn +++ b/project/scn/WinDialogs.tscn @@ -58,6 +58,7 @@ margin_bottom = 86.0 text = "KEXT" [node name="CreditsWin" type="AcceptDialog" parent="."] +editor/display_folded = true anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 @@ -67,12 +68,11 @@ margin_top = -133.5 margin_right = 174.0 margin_bottom = 133.5 window_title = "KCRE" +resizable = true [node name="CreditsTxt" type="RichTextLabel" parent="CreditsWin"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 340.0 -margin_bottom = 231.0 +anchor_right = 1.0 +anchor_bottom = 1.0 focus_mode = 2 bbcode_enabled = true bbcode_text = "[center]Created by @@ -119,6 +119,7 @@ margin_bottom = 34.0 window_title = "KSET" [node name="Grid" type="GridContainer" parent="SettingsWin"] +visible = false anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 @@ -154,12 +155,14 @@ margin_top = -137.5 margin_right = 202.0 margin_bottom = 137.5 window_title = "KLIC" +resizable = true [node name="LicenseTxt" type="RichTextLabel" parent="LicenseWin"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 396.0 -margin_bottom = 239.0 +anchor_left = 0.5 +anchor_right = 0.5 +margin_left = -194.0 +margin_right = 194.0 +margin_bottom = 231.0 bbcode_enabled = true bbcode_text = "Nathan's Dress Up is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.