Skip to content

Commit

Permalink
Merge pull request #42579 from theoway/stylebox_and_control_documenta…
Browse files Browse the repository at this point in the history
…tion

Documentation change: Explaining the behavior of focus stylebox overlapping the pressed stylebox
  • Loading branch information
akien-mga authored Oct 19, 2020
2 parents fb8d7f9 + 10a7edd commit bc8300d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/StyleBox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bc8300d

Please sign in to comment.