From 9ec70c54abd32cd2ca3a7ed59d1171fbaab4192a Mon Sep 17 00:00:00 2001 From: Umang Kalra Date: Tue, 6 Oct 2020 17:44:09 +0530 Subject: [PATCH] Explaining the behavior of focus & pressed stylebox overlap (cherry picked from commit 10a7eddc5e6d4b00636b235d6ea343ff2bcd0a40) --- doc/classes/StyleBox.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/StyleBox.xml b/doc/classes/StyleBox.xml index 29fb3ae7f9f..ce07f19bae8 100644 --- a/doc/classes/StyleBox.xml +++ b/doc/classes/StyleBox.xml @@ -5,6 +5,7 @@ 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.