summaryrefslogtreecommitdiff
path: root/doc/classes/StyleBox.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-19 09:36:24 +0200
committerGitHub <noreply@github.com>2020-10-19 09:36:24 +0200
commitbc8300d20197081bcf7ef0f9495107bf6dbf9acd (patch)
tree6becdb8c4d26eddc4b882b6b6a26a096c1ce3d1a /doc/classes/StyleBox.xml
parentfb8d7f9a84d66461fe90b6702e0b7d43ada4826b (diff)
parent10a7eddc5e6d4b00636b235d6ea343ff2bcd0a40 (diff)
Merge pull request #42579 from theoway/stylebox_and_control_documentation
Documentation change: Explaining the behavior of focus stylebox overlapping the pressed stylebox
Diffstat (limited to 'doc/classes/StyleBox.xml')
-rw-r--r--doc/classes/StyleBox.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/StyleBox.xml b/doc/classes/StyleBox.xml
index 0e848a1bf6..04f8eb9d13 100644
--- a/doc/classes/StyleBox.xml
+++ b/doc/classes/StyleBox.xml
@@ -5,6 +5,7 @@
</brief_description>
<description>
StyleBox is [Resource] that provides an abstract base class for drawing stylized boxes for the UI. StyleBoxes are used for drawing the styles of buttons, line edit backgrounds, tree backgrounds, etc. and also for testing a transparency mask for pointer signals. If mask test fails on a StyleBox assigned as mask to a control, clicks and motion signals will go through it to the one below.
+ [b]Note:[/b] For children of [Control] that have [i]Theme Properties[/i], the [code]focus[/code] [StyleBox] is displayed over the [code]normal[/code], [code]hover[/code] or [code]pressed[/code] [StyleBox]. This makes the [code]focus[/code] [StyleBox] more reusable across different nodes.
</description>
<tutorials>
</tutorials>