diff options
author | David Giardi <david.giardi.eng@gmail.com> | 2023-03-09 03:52:57 +0100 |
---|---|---|
committer | David Giardi <david.giardi.eng@gmail.com> | 2023-04-19 01:38:09 +0200 |
commit | 9f1e18e64ceb09cfeedd0a341de298e3ef806976 (patch) | |
tree | 4f4cc061736fdce2b9e3fee05e07ba2b881a5210 /scene/gui/tab_container.h | |
parent | 06f5b09ca493d1de5dd4bec97bdb6b9ad4fb1d29 (diff) | |
download | redot-engine-9f1e18e64ceb09cfeedd0a341de298e3ef806976.tar.gz |
Add theming support for hovered tabs
Tabs can now be styled differently when hovered by the mouse pointer.
Diffstat (limited to 'scene/gui/tab_container.h')
-rw-r--r-- | scene/gui/tab_container.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h index f64f1fe2a3..ca605a9b79 100644 --- a/scene/gui/tab_container.h +++ b/scene/gui/tab_container.h @@ -63,6 +63,7 @@ class TabContainer : public Container { int outline_size = 0; Ref<StyleBox> tab_unselected_style; + Ref<StyleBox> tab_hovered_style; Ref<StyleBox> tab_selected_style; Ref<StyleBox> tab_disabled_style; |