kobewi
682b0f7c54
Add switch on hover to TabBar
2025-10-22 00:34:57 +02:00
Thaddeus Crews
9e96c7d9b8
Merge pull request #110378 from timothyqiu/rtl-preview
...
Make text-related nodes translation domain aware
2025-10-16 12:48:05 -05:00
Logan Detrick
914a72f8a4
Give TabBar overridable colors per tab
2025-10-13 11:52:07 -07:00
Thaddeus Crews
dcb9a0d030
Merge pull request #110151 from FifthTundraG/tabbar_horizontal_scrolling
...
Add horizontal scrolling to `TabBar`
2025-10-13 12:30:02 -05:00
FifthTundraG
14f7cbd74c
Add horizontal scrolling to TabBar
2025-10-13 13:05:25 -04:00
Michael Alexsander
8973c91293
Add icon color theme items for TabBar and TabContainer
2025-10-03 10:41:28 -03:00
Haoyu Qiu
172c80df67
Make text-related nodes translation domain aware
...
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +08:00
Michael Alexsander
aeb3a45c97
Hide Control focus when given via mouse input
2025-09-19 13:43:29 -03:00
Pāvels Nadtočajevs
10fd7163d4
Add methods to check which event first triggered "just pressed/released" state.
2025-08-12 16:25:23 +03:00
Logan Detrick
88280a6b2a
Fix TabBar minimum size with clip_tabs on
2025-07-13 16:40:22 -07:00
Tiger Jove
c6c7b508b6
TabBar current tab now stays -1 when adding first tab on deselect_enable
2025-07-07 10:18:49 +02:00
Logan Detrick
0413297f7f
Add dock dragging area and highlight
2025-06-05 16:02:33 -07:00
kit
48624a0778
Allow TabBar drag and drop to be overridden
...
Add tab mouse tests
2025-05-27 11:56:37 -04:00
Logan Detrick
5fbc8a61fc
Fix TabBar hidden tabs handling
2025-05-13 18:11:00 -07:00
SaNeOr
0785c9ad81
fix Editor Crashes When Middle Mouse Button Is Clicked on Empty Space in scene_tabs
2025-05-08 12:04:53 +08:00
Thaddeus Crews
717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
...
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Thaddeus Crews
4c66c21542
Merge pull request #103024 from cruglet/master
...
TabBar: Add boolean toggle for middle-click to fire `tab_close_pressed` signal.
2025-04-10 16:53:44 -05:00
Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
Cruglet
1a1711f1ee
Add middle-click removing for TabBars
...
Added a boolean option field to enable the firing of the "tab_close_pressed" signal when middle clicking on a tab.
2025-04-09 07:56:09 -04:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00
Aaron J Yoder
117d5cbf96
Add tab spacing modifier for tabs in TabBar and TabContainer
2025-03-05 16:55:37 -05:00
Michael Alexsander
e33a95f6ab
Always pick widest style as min width between unselected and hovered in TabBar
2025-01-14 12:16:44 -03:00
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com >
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2024-12-24 00:40:09 +08:00
kit
f2f34e9c50
Fix TabBar initialization issue and add tests
2024-09-20 18:49:46 -04:00
Haoyu Qiu
14321b8ed5
Set auto translate mode for drag previews
...
- Controls
- `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
- `TabBar`: Use the same auto translate mode as the node.
- `RichTextLabel`: Always disable since auto translation is done
differently from other controls (selection text you get
programmatically is always after auto translation).
- Editor
- Disable drag preview auto translation if the text is user input,
filename, or class name.
- Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
kleonc
d1740e6cbf
Clear TabBar tab close button's rect after it's hidden
2024-08-04 11:59:37 +02:00
Yuri Rubinsky
af5fc8354b
Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit
2024-07-09 19:38:52 +03:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Gilles Roudière
7705265477
Fix PropertyListHelper::_get_property returning a valid value even if an index is outside the array valid indices
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com >
2024-05-10 10:46:04 +02:00
Mansur Isaev
b37ddfc606
Add tab tooltip text
2024-04-23 08:28:48 +04:00
kobewi
e95e954c68
Add PropertyListHelper in all simple cases
2024-04-11 18:13:29 +02:00
A Thousand Ships
a56c03d495
Fix error spam when adding tabs to TabBar without deselect
...
`current` was allowed to be `-1` when deselection was disabled, causing
errors in other methods when updating the size.
2024-02-20 23:38:20 +01:00
jsjtxietian
b7028e5f94
Tweak property order in the inspector for TabBar
2024-02-18 12:54:51 +08:00
Mounir Tohami
fdba051a40
Fix TabBar size when theme changes
2024-02-13 18:04:31 +00:00
kit
6e965f6c83
Allow tab deselection
2024-01-29 14:30:34 -05:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
kit
f6a212837b
TabContainer bottom position
2024-01-06 15:31:08 -05:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2023-12-13 11:06:26 -05:00
Rémi Verschelde
17da2c5b53
Merge pull request #83963 from YeldhamDev/try_active_tabs_first
...
Fix disabled tabs being selected when removing the current one
2023-10-28 12:31:38 +02:00
kit
8985a46bdd
TabBar save current tab
2023-10-26 18:32:22 -04:00
Michael Alexsander
c3fc87964f
Fix disabled tabs being selected when removing the current one
2023-10-25 16:46:54 -03:00
kit
701c8d8323
Fix tab dragging issues
2023-10-22 13:58:31 -04:00
Wierdox
7b33ad354a
Fix phantom tab right button.
2023-10-13 16:34:05 -07:00
Rémi Verschelde
0d034447b7
Merge pull request #81648 from 4d49/fix-tab-metadata
...
Remove the equality check for `TabBar.set_tab_metadata`
2023-10-02 13:16:23 +02:00
Michael Alexsander
decae848a8
Make hovered tabs be drawn with the unselected's width at minimum
2023-09-26 15:08:47 -03:00
Arkadiusz Marcin Kołek
18811ac814
Allow to focus individual tabs in TabBar/TabContainer
2023-09-17 18:49:48 +02:00
Mansur Isaev
4982bec8b7
Removes the equality check for set_tab_metadata
...
Makes the code equivalent to the `Tree.set_metadata` code.
Fix: https://github.com/godotengine/godot/issues/81647
2023-09-14 17:07:14 +04:00
Yuri Sizov
2924bfd4d3
Register theme properties with ThemeDB
2023-09-11 13:45:23 +02:00