From d397c3216906fa59d49f041a7a4038d8cfe2f6e2 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Sat, 20 Feb 2021 10:10:28 -0500 Subject: [PATCH] [docs] Clarification on theme's get_stylebox Remove reference to "icon" (must have been a copy-paste error) & clarify where to find out what names & node_types are valid. --- doc/classes/Theme.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/classes/Theme.xml b/doc/classes/Theme.xml index 3f7f22ebcdc..9f976838e97 100644 --- a/doc/classes/Theme.xml +++ b/doc/classes/Theme.xml @@ -236,7 +236,8 @@ - Returns the icon [StyleBox] at [code]name[/code] if the theme has [code]node_type[/code]. + Returns the [StyleBox] at [code]name[/code] if the theme has [code]node_type[/code]. + Valid [code]name[/code]s may be found using [method get_stylebox_list]. Valid [code]node_type[/code]s may be found using [method get_stylebox_type_list]. @@ -246,6 +247,7 @@ Returns all the [StyleBox]s as a [PackedStringArray] filled with each [StyleBox]'s name, for use in [method get_stylebox], if the theme has [code]node_type[/code]. + Valid [code]node_type[/code]s may be found using [method get_stylebox_type_list].