Skip to content

Commit

Permalink
Document focus StyleBox caveats in Introduction to GUI skinning
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou committed Nov 23, 2024
1 parent c28b11c commit f104326
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tutorials/ui/gui_skinning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ a unique name and must be one of the following data types:
not limited to the :ref:`Panel <class_Panel>` control, as styleboxes
are used by many controls for their backgrounds and overlays.

Different controls will apply StyleBoxes in a different manner. Most notably,
``focus`` styleboxes are drawn as an *overlay* to other styleboxes (such as
``normal`` or ``pressed``) to allow the base stylebox to remain visible.
This means the focus stylebox should be designed as an outline or translucent
box, so that its background can remain visible.

Theme types
~~~~~~~~~~~

Expand Down

0 comments on commit f104326

Please sign in to comment.