summaryrefslogtreecommitdiff
path: root/scene/gui/tab_container.cpp
AgeCommit message (Collapse)Author
2022-05-06Cleanup metadata usagekobewi
2022-04-25Fix font_size not working in TabContainerRindbee
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-04-04Add action map editor for OpenXRBastiaan Olij
2022-03-31Small fixes for `TabContainer`Michael Alexsander
2022-03-21Add visual marker when dragging and dropping tabsMichael Alexsander
2022-03-08Merge pull request #58850 from YeldhamDev/more_tab_regressionsRémi Verschelde
2022-03-08Fix crash with all_tabs_in_frontPaweł Fertyk
Fixes #58790.
2022-03-06Fix regressions with nameless and icon-only tabsMichael Alexsander
2022-03-05Change tabs_rearrange_group to propertykobewi
2022-03-04Fix renaming `TabContainer` children not updating tab names when outside the ↵Michael Alexsander
tree
2022-03-03Make `TabContainer` use `TabBar` internallyMichael Alexsander
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-10Reorganize inspector layout workflow for Control nodesYuri Sizov
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-01-05Merge pull request #56206 from ↵Rémi Verschelde
KoBeWi/random_call_deferred_to_the_rescue_once_again
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-23Fix TabContainer not setting layout immediatelykobewi
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-12Use "enum class" for input enumsAaron Franke
2021-09-25Merge pull request #53049 from AnilBK/dont-construct-2Rémi Verschelde
2021-09-25Construct values only when necessary.Anilforextra
2021-09-24Expose `TabContainer`'s tab hidding for scriptsMichael Alexsander
2021-09-09Removed unused Ref<Font> font variablesMatthew Newall
2021-09-07Merge pull request #52050 from nobuyukinyuu/bind-get-tab-idx-at-point-40Gilles Roudière
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-09-01TabContainer Fix drawing current tab when it's disabledkleonc
2021-08-29Bind TabContainer::get_tab_idx_at_point() to ClassDBnobuyuki_nyuu
2021-08-28Add support for internal nodeskobewi
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-04TabContainer: Fix error on removing top-level Control child, Remove _get_tab ↵kleonc
method
2021-08-02TabContainer Fix moving dropped tab at incorrect child indexkleonc
2021-07-29Add `auto_translate` toggle for automatic translationMichael Alexsander
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-05-07Fixed bug in tab_container with hidden tabsbesh81
Fix a bug that occour when there are hidden tabs in tab_container. The visualization isn't correct due to missing values in tab_widths array.
2021-04-05Fix crashes in *_input functionsRafał Mikrut
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-17Merge pull request #46674 from cmd410/fix-tab-containerRémi Verschelde
Fix TabContainer _get_tab_width for localized node names
2021-03-14Fix stale tab names in TabContainerYuri Sizov
2021-03-04Fix TabContainer _get_tab_widthCrystal Melting Dot
Now it translates node name before calculating tab width
2021-02-14[CTL] Add missing font outline drawing routines and theme constants.bruvzg
2021-02-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-02-09Initialize class variables with default values in scene/ [2/2]Rafał Mikrut
2021-01-24Change themes *_color_* to *_*_colorMarcel Admiraal
Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
2021-01-12Fix errors when removing non Control node from TabContainerRafał Mikrut
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-13Refresh TextLine buffer when moving tabgongpha