Spartan322
e2d0cc2ded
Merge commit godotengine/godot@ad9abe841d
2025-02-11 21:06:34 -05:00
A Thousand Ships
5dcab0e606
Prevent some internal nodes being duplicated in Controls
2025-02-10 13:27:08 +01:00
Spartan322
94949a2769
Merge commit godotengine/godot@a7146ef807
2025-01-21 17:08:38 -05:00
Janis Kirsteins
815e905972
Typo fix: rename SortableVisbilityMode
2025-01-19 00:33:39 +01:00
Spartan322
6beb1eef9a
Fix copyright headers referring to Godot
2024-10-27 11:17:29 -04:00
Dubhghlas McLaughlin
e8542b06ac
Rebrand preambles to Redot
...
Credits:
Co-authored-by: Skogi <skogi.b@gmail.com >
Co-authored-by: Spartan322 <Megacake1234@gmail.com >
Co-authored-by: swashberry <swashdev@pm.me >
Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se >
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com >
Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com >
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com >
Co-authored-by: radenthefolf <radenthefolf@gmail.com >
Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com >
Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com >
Co-authored-by: decryptedchaos <nixgod@gmail.com >
Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com >
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com >
Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com >
Co-authored-by: Mister Puma <MisterPuma80@gmail.com >
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com >
Co-authored-by: SingleError <isaaconeoneone@gmail.com >
Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com >
2024-10-11 02:26:51 -04:00
kit
f2f34e9c50
Fix TabBar initialization issue and add tests
2024-09-20 18:49:46 -04:00
kit
3d6814e5d2
Fix TabContainer tab offset moving when not needed
2024-09-19 19:26:35 -04:00
Mounir Tohami
2ff61e0252
Fix TabContainer minimum size
2024-09-18 01:41:54 +00:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color)
2024-06-18 17:24:27 +02:00
kobewi
02e1e6d1ec
Add visibilty mode to as_sortable_control()
2024-06-03 20:01:31 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Rémi Verschelde
098a4e945e
Merge pull request #91188 from YeldhamDev/love_fixing_other_peoples_regressions
...
Fix `TabContainer` regressions related to switching tabs in certain cases
2024-05-02 12:46:39 +02:00
Michael Alexsander
1c32fa2f40
Fix TabContainer regressions related to switching tabs in certain cases
2024-04-26 03:07:21 -03:00
Haoyu Qiu
779426b2fa
Allow setting icon max width for TabContainer
2024-04-26 08:27:27 +08:00
Rémi Verschelde
d7abefd0a3
Merge pull request #91038 from timothyqiu/tab-container-toggle-icon-text
...
Fix TabContainer using wrong content rect after tab title update
2024-04-23 19:12:03 +02:00
Mansur Isaev
b37ddfc606
Add tab tooltip text
2024-04-23 08:28:48 +04:00
Haoyu Qiu
91918e8cb7
Fix TabContainer not updating content rect after changing tab title
2024-04-23 09:48:59 +08:00
Haoyu Qiu
fd14ba34d1
Fix TabContainer not redrawing after toggling tab icon
2024-04-20 21:08:46 +08:00
Michael Alexsander
adea1a4b9b
Fix TabContainer desync when tabs share names
2024-04-09 02:02:05 -03:00
A Thousand Ships
79ba22a73f
Use Vector* component-wise min/max/clamp functions where applicable
2024-03-20 13:47:42 +01:00
kit
6e965f6c83
Allow tab deselection
2024-01-29 14:30:34 -05:00
kit
f6a212837b
TabContainer bottom position
2024-01-06 15:31:08 -05:00
kit
a2674463fa
fix dock visibility issues
2023-10-30 10:52:07 -04:00
kit
8985a46bdd
TabBar save current tab
2023-10-26 18:32:22 -04:00
kit
b7884878fb
Fix TabContainer drag to rearrange
2023-10-25 16:22:32 -04:00
kit
701c8d8323
Fix tab dragging issues
2023-10-22 13:58:31 -04:00
Yuri Sizov
215e036600
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-19 18:14:14 +02:00
Rémi Verschelde
c57d9f3483
Merge pull request #79104 from DrRevert/focusable_tabs_refactor
...
Allow to focus individual tabs in `TabBar`/`TabContainer`
2023-09-25 17:17:51 +02:00
Rémi Verschelde
42fb795eb8
Merge pull request #80227 from raulsntos/get_tab_bar
...
Expose the `TabBar` of a `TabContainer`
2023-09-24 23:30:56 +02:00
Raul Santos
408a08f2c1
Expose the TabBar of a TabContainer
...
Add `TabContainer::get_tab_bar` method to retrieve the `TabBar` of a `TabContainer`.
2023-09-22 20:08:28 +02:00
Arkadiusz Marcin Kołek
18811ac814
Allow to focus individual tabs in TabBar/TabContainer
2023-09-17 18:49:48 +02:00
Yuri Sizov
2924bfd4d3
Register theme properties with ThemeDB
2023-09-11 13:45:23 +02:00
Yogendra Manawat
d7bf05b490
Fix TabContainer's font_hovered_color theme property
2023-08-30 21:25:41 +05:30
Ninni Pipping
dcd2b883eb
Use NULL instead of COND checks when appropriate
...
Restricted to scene
2023-06-10 08:56:30 +02:00
Tefatika
abd894daf7
Fixed error messages when setting all_tab_in_front of TabContainer
...
Some signal handlers weren't unregistered when removing the wrapped
child TabBar, which resulted in errors printed when the TabBar was
removed and added again when the flag was updated
2023-04-30 08:17:21 +02:00
Rémi Verschelde
b5ddafcab2
Merge pull request #76374 from OverloadedOrama/more-tab-container-signals
...
Add missing `TabBar` signals to `TabContainer`
2023-04-24 16:48:01 +02:00
Rémi Verschelde
dfee04ae2a
Merge pull request #74632 from davthedev/tabs-hover
...
Add theming support for hovered tabs
2023-04-24 16:42:38 +02:00
Emmanouil Papadeas
0a6a4969dc
Add more signals to TabContainer that TabBar already has
2023-04-23 18:50:35 +03:00
David Giardi
9f1e18e64c
Add theming support for hovered tabs
...
Tabs can now be styled differently when hovered by the mouse pointer.
2023-04-19 01:38:09 +02:00
ShadyChibinko
9d2aecade0
Add Tab Metadata
2023-04-11 12:52:03 -04:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com >
2023-03-31 21:39:02 +02:00
kobewi
59ea36b87c
Remove set_drag_forwarding_compat()
2023-01-14 15:16:51 +01:00
Juan Linietsky
e6a4debede
Change set_drag_forwarding() to use callables.
...
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).
Fixes #59899
2023-01-10 14:09:24 +01:00
Juan Linietsky
0e0a6bb39b
Removed unused property hints and Object::get_translatable_strings()
...
* Remove unused `EditorPropertyMember` and related hints, previouly used by
VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
`get_translatable_strings()`, which is a legacy function not used anywhere.
So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.
Fixes #30203 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2023-01-09 16:56:01 +01:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Michael Alexsander
fb8588e68e
Fix problems with tab_changed signal when removing multiple tabs at once
2022-10-27 03:16:01 -03:00
Rindbee
65f97c671c
Make the inner TabBar in a TabContainer behave as if it were in a Container
2022-09-18 20:55:13 +08:00
Rindbee
464c374372
Fix minimum size calculation for TabContainer
2022-09-18 06:59:48 +08:00
Yuri Sizov
3b1aa240dc
Add a lifecycle method for manual theme item caching to Control
2022-09-01 16:35:36 +03:00