Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document focus StyleBox caveats in Introduction to GUI skinning #10313

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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