diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-09 08:31:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 08:31:20 +0200 |
commit | 24c462b974ed45be85a7026960482dfcc7b54010 (patch) | |
tree | f3fdc1642423d1f4b0e01eed327315e253e6eee1 /scene/gui/container.cpp | |
parent | 2fd902a08fdce6a1dc7abd2ea2d9a0c13cb21d76 (diff) | |
parent | ff7184c5cb501cb1674e2547fc31bbb9975cc0f2 (diff) | |
download | redot-engine-24c462b974ed45be85a7026960482dfcc7b54010.tar.gz |
Merge pull request #30443 from Calinou/improve-node-configuration-warnings
Improve the node configuration warning display
Diffstat (limited to 'scene/gui/container.cpp')
-rw-r--r-- | scene/gui/container.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/container.cpp b/scene/gui/container.cpp index c9cf5f8308..449076f863 100644 --- a/scene/gui/container.cpp +++ b/scene/gui/container.cpp @@ -175,9 +175,9 @@ String Container::get_configuration_warning() const { if (get_class() == "Container" && get_script().is_null()) { if (warning != String()) { - warning += "\n"; + warning += "\n\n"; } - warning += TTR("Container by itself serves no purpose unless a script configures its children placement behavior.\nIf you don't intend to add a script, then please use a plain 'Control' node instead."); + warning += TTR("Container by itself serves no purpose unless a script configures its children placement behavior.\nIf you don't intend to add a script, use a plain Control node instead."); } return warning; } |