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
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
Aaron J Yoder
117d5cbf96
Add tab spacing modifier for tabs in TabBar and TabContainer
2025-03-05 16:55:37 -05:00
Mansur Isaev
b37ddfc606
Add tab tooltip text
2024-04-23 08:28:48 +04:00
Hugo Locurcio
3fe01226b7
Use black for font outlines by default instead of white
...
This makes font outlines more usable out of the box, as black
is one of the most commonly used colors for font outlines.
2024-02-28 20:25:15 +01:00
kit
6e965f6c83
Allow tab deselection
2024-01-29 14:30:34 -05:00
Michael Alexsander
c3fc87964f
Fix disabled tabs being selected when removing the current one
2023-10-25 16:46:54 -03: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
Rémi Verschelde
81064cc239
Doctool: Remove version attribute from XML header
...
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
Rémi Verschelde
346f1ab86b
Bump version to 4.2-dev
...
Keep on waitin'
2023-07-05 22:07:03 +02:00
VolTer
151a4ba6a5
Overhaul the top sections of the class reference (GUI classes)
2023-05-28 14:24:54 +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
Rémi Verschelde
66d9a6acde
Merge pull request #75960 from ShadyChibinko/tab_metadata
...
Add tab Metadata to TabBar & TabContainer
2023-04-22 13:19:04 +02: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
Paweł
4431cdd154
Remove double thes from documentation
2023-04-17 21:45:30 +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
Rémi Verschelde
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
Stanislav Labzyuk
436cd91065
Expose TabBar::clear_tabs to GDScript
2023-01-08 13:52:57 +01:00
Hugo Locurcio
fcf54cabba
Document MDSF font outlines may require msdf_pixel_range adjustments
2022-12-19 17:17:45 +01:00
Andy Maloney
2d54c36c3c
[doc] Use "param" instead of "code" to refer to parameters
2022-08-11 16:13:29 +03:00
Yuri Sizov
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
bruvzg
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
FireForge
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
Michael Alexsander
94b8f38de2
Add visual marker when dragging and dropping tabs
2022-03-21 22:16:29 -03:00
Michael Alexsander
deb1342036
Make TabBar/Container default their alignments to the left instead of center
2022-03-17 18:12:23 -03:00
Michael Alexsander
182e038af5
Replace TabBar's min_width with max_tab_width and expose it
2022-03-09 01:48:18 -03:00
kobewi
b3864db7e0
Change tabs_rearrange_group to property
2022-03-05 21:03:01 +01:00
Michael Alexsander
a811ebf699
Make TabContainer use TabBar internally
2022-03-03 21:49:58 -03:00
Hugo Locurcio
b68dd2e189
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
Michael Alexsander
64c4a5b283
Bring TabBar to full parity with the TabContainer implementation.
2022-01-31 15:35:54 -03:00
Hugo Locurcio
84a69d7429
Improve the default project theme
...
The new default project theme uses StyleBoxFlat extensively for
a more modern design and better scalability to multiple resolutions.
SVG icons are now used in place of PNG icons. While this does not
allow for true vector-based icon drawing (icons are still rasterized
at load-time), this makes the design work easier for contributors
and opens the door to vector drawing in the future (e.g. with polygons
or SDFs).
Like for editor icons, the SVG header file is now built automatically
when a SVG file is changed. This removing the need for running
`make_header.py` manually (TODO).
The "Use Hidpi" project setting has been removed in favor of a
"Default Theme Scale" project setting, which allows creating the
default theme at a higher/lower scale than the default.
This can be used when designing GUIs with a high base resolution
to ensure crisp visuals.
Co-authored-by: Yuri Sizov <yuris@humnom.net >
2022-01-19 18:46:01 +03:00
Rémi Verschelde
50225a0f32
i18n: Sync classref translations with current 3.x codebase
...
(cherry picked from commit defb801120 )
2022-01-07 13:39:06 +01:00
rafallus
b4abb73ea5
Inspector property array for TabBar
2022-01-05 12:23:11 -06:00
Nathan Franke
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
Yuri Sizov
397e56964d
Sort and group theme properties in docs, improve formatting for theme and enums
2021-12-01 21:02:20 +03:00
Michael Alexsander
4c563a51c3
Rename TabBar's tab_closed signal to tab_close_pressed
2021-10-28 13:10:44 -03:00
Michael Alexsander
67acb7de6e
Rename Tabs to TabBar
2021-10-19 11:37:31 -03:00