summaryrefslogtreecommitdiffstats
path: root/scene/gui/tab_bar.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #83963 from YeldhamDev/try_active_tabs_firstRémi Verschelde2023-10-281-2/+19
|\ | | | | | | Fix disabled tabs being selected when removing the current one
| * Fix disabled tabs being selected when removing the current oneMichael Alexsander2023-10-251-2/+19
| |
* | TabBar save current tabkit2023-10-261-3/+10
|/
* Fix tab dragging issueskit2023-10-221-44/+60
|
* Fix phantom tab right button.Wierdox2023-10-131-0/+2
|
* Merge pull request #81648 from 4d49/fix-tab-metadataRémi Verschelde2023-10-021-5/+0
|\ | | | | | | Remove the equality check for `TabBar.set_tab_metadata`
| * Removes the equality check for `set_tab_metadata`Mansur Isaev2023-09-141-5/+0
| | | | | | | | | | | | Makes the code equivalent to the `Tree.set_metadata` code. Fix: https://github.com/godotengine/godot/issues/81647
* | Make hovered tabs be drawn with the unselected's width at minimumMichael Alexsander2023-09-261-5/+10
| |
* | Allow to focus individual tabs in TabBar/TabContainerArkadiusz Marcin Kołek2023-09-171-3/+88
|/
* Register theme properties with ThemeDBYuri Sizov2023-09-111-33/+30
|
* Fix delay on tab resizing when (un)hovering tabsMichael Alexsander2023-06-271-0/+3
|
* Merge pull request #74632 from davthedev/tabs-hoverRémi Verschelde2023-04-241-1/+11
|\ | | | | | | Add theming support for hovered tabs
| * Add theming support for hovered tabsDavid Giardi2023-04-191-1/+11
| | | | | | | | Tabs can now be styled differently when hovered by the mouse pointer.
* | Make tab's close button responsive to touch tapsFredia Huya-Kouadio2023-04-221-0/+2
| |
* | Add Tab MetadataShadyChibinko2023-04-111-0/+17
|/
* Make icons of scripted and custom classes fit the editor UIYuri Sizov2023-03-311-10/+64
| | | | | | | | | | | 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>
* Fix `TabBar` not redrawing on locale changeDanil Alexeev2023-02-151-0/+2
|
* Expose TabBar::clear_tabs to GDScriptStanislav Labzyuk2023-01-081-0/+1
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Fix errors when `TabBar` is emptyMichael Alexsander2022-12-271-9/+22
|
* Code simplifications found by cppcheckMarkus Sauermann2022-11-211-3/+0
| | | | | | | They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
* Fix key mapping changes when moving from macOS to other platformbruvzg2022-09-071-2/+2
| | | | | Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
* Add a lifecycle method for manual theme item caching to ControlYuri Sizov2022-09-011-112/+92
|
* Rename `CanvasItem.update()` to `queue_redraw()`Micky2022-08-291-43/+43
| | | | | | | | | | Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
* Add some codes, returnes directly if the value is not changed.风青山2022-08-231-0/+40
| | | | Avoid executing the following value-changed logics if the value does not really change.
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-46/+1
|
* Add suffixes to all nodes and resourcesFireForge2022-06-111-1/+1
|
* Reset buttons_visible to false while tabs is empty in TabBar::_update_cacheRindbee2022-05-281-0/+1
|
* Rename theme properties to include underscoresFireForge2022-04-231-3/+3
| | | | | | | | | | | | | | - 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
* Merge pull request #59336 from YeldhamDev/where_we_dropping_boysRémi Verschelde2022-03-261-11/+89
|\
| * Add visual marker when dragging and dropping tabsMichael Alexsander2022-03-211-11/+89
| |
* | Fix `tabs_rearrange_group` property being exposed as a `bool` instead of a `int`Michael Alexsander2022-03-191-1/+1
|/
* Replace `TabBar`'s `min_width` with `max_tab_width` and expose itMichael Alexsander2022-03-091-46/+35
|
* Fix regressions with nameless and icon-only tabsMichael Alexsander2022-03-061-3/+3
|
* Change tabs_rearrange_group to propertykobewi2022-03-051-0/+1
|
* Make `TabContainer` use `TabBar` internallyMichael Alexsander2022-03-031-25/+63
|
* Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde2022-02-151-1/+2
|
* Fix crash when removing tabs from `TabBar`Michael Alexsander2022-02-141-14/+17
|
* Fix `TabBar._update_hover` crashPaweł Fertyk2022-02-081-1/+2
| | | | Fixes #57710.
* Bring `TabBar` to full parity with the `TabContainer` implementation.Michael Alexsander2022-01-311-157/+395
|
* Improve looks and consistency of tabsMichael Alexsander2022-01-121-121/+105
|
* Fix several issues in ´TabBar´Michael Alexsander2022-01-121-71/+108
|
* Fix missing arg name in bindings for GDExtension APIRémi Verschelde2022-01-071-1/+1
|
* Inspector property array for `TabBar`rafallus2022-01-051-6/+67
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-4/+4
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-14/+14
|
* Rename minimum_size_changed() methodkobewi2021-12-061-7/+7
|
* Prevent hidden tab close buttons from intercepting input [4.0]ator-dev2021-11-291-8/+8
|
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-2/+2
|