summaryrefslogtreecommitdiff
path: root/scene/gui/tab_bar.cpp
AgeCommit message (Collapse)Author
2023-02-15Fix `TabBar` not redrawing on locale changeDanil Alexeev
2023-01-08Expose TabBar::clear_tabs to GDScriptStanislav Labzyuk
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2022-12-27Fix errors when `TabBar` is emptyMichael Alexsander
2022-11-21Code simplifications found by cppcheckMarkus Sauermann
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-01Add a lifecycle method for manual theme item caching to ControlYuri Sizov
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
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`.
2022-08-23Add some codes, returnes directly if the value is not changed.风青山
Avoid executing the following value-changed logics if the value does not really change.
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-05-28Reset buttons_visible to false while tabs is empty in TabBar::_update_cacheRindbee
2022-04-23Rename theme properties to include underscoresFireForge
- 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-03-26Merge pull request #59336 from YeldhamDev/where_we_dropping_boysRémi Verschelde
2022-03-21Add visual marker when dragging and dropping tabsMichael Alexsander
2022-03-19Fix `tabs_rearrange_group` property being exposed as a `bool` instead of a `int`Michael Alexsander
2022-03-09Replace `TabBar`'s `min_width` with `max_tab_width` and expose itMichael Alexsander
2022-03-06Fix regressions with nameless and icon-only tabsMichael Alexsander
2022-03-05Change tabs_rearrange_group to propertykobewi
2022-03-03Make `TabContainer` use `TabBar` internallyMichael Alexsander
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-14Fix crash when removing tabs from `TabBar`Michael Alexsander
2022-02-08Fix `TabBar._update_hover` crashPaweł Fertyk
Fixes #57710.
2022-01-31Bring `TabBar` to full parity with the `TabContainer` implementation.Michael Alexsander
2022-01-12Improve looks and consistency of tabsMichael Alexsander
2022-01-12Fix several issues in ´TabBar´Michael Alexsander
2022-01-07Fix missing arg name in bindings for GDExtension APIRémi Verschelde
2022-01-05Inspector property array for `TabBar`rafallus
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-06Rename minimum_size_changed() methodkobewi
2021-11-29Prevent hidden tab close buttons from intercepting input [4.0]ator-dev
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-12Use "enum class" for input enumsAaron Franke
2021-10-28Rename `TabBar`'s `tab_closed` signal to `tab_close_pressed`Michael Alexsander
2021-10-27Fix uninteractable singular tab in `TabBar`Michael Alexsander
2021-10-20Fix Tabs crash where it still tries to detect the clicked tab even if there ↵Robin Arys
are none
2021-10-19Rename `Tabs` to `TabBar`Michael Alexsander