summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2023-01-14Merge pull request #71328 from reduz/button-shortcuts-no-longer-pressYuri Sizov
Button shortcuts no longer "press" the Button.
2023-01-13Add expand mode compat to TextureRectkobewi
2023-01-13Button shortcuts no longer "press" the Button.Juan Linietsky
* Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release. * This logic is removed and now shortcuts always activate on press. * This makes the editor feel more responsive and solves problems related to this behavior. Fixes #45033 and possibly others.
2023-01-12Merge pull request #58517 from KoBeWi/size_mattersRémi Verschelde
Add expand modes to TextureRect
2023-01-12Add expand modes to TextureRectkobewi
2023-01-12Merge pull request #70566 from cg9999/richtextlabel_fixRémi Verschelde
Fix crash in RichTextLabel table parsing
2023-01-12Fix crash in RichTextLabel table parsingHenri Valta
Fixed with help of feedback from bruvzg. Prevents invalid items getting to stack.
2023-01-12Rename (de)selected signals to node_(de)selected in GraphNodeHendrik Brucker
2023-01-11Merge pull request #71219 from ↵Rémi Verschelde
EricEzaM/68176-codeedit_update_code_completion_options_crash Fix crash in CodeEdit when caret column exceeds line length.
2023-01-11Fix crash in CodeEdit when caret column exceeds line length.Eric M
2023-01-11Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parentsRémi Verschelde
Ensure that the cached layout mode is in sync
2023-01-11Merge pull request #71127 from reduz/drag-forward-to-callablesRémi Verschelde
Change set_drag_forwarding() to use callables.
2023-01-11Merge pull request #71042 from ↵Rémi Verschelde
marzecdawid/only-cursor-multiselect-tree-text-search Fix text search in Tree with multiselect
2023-01-10Ensure that the cached layout mode is in syncYuri Sizov
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* 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-10Merge pull request #71056 from marzecdawid/add-tree-deselect-all-to-gdscriptRémi Verschelde
Expose Tree::deselect_all to GDScript
2023-01-09Removed unused property hints and `Object::get_translatable_strings()`Juan Linietsky
* 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-09Fix inconsistent state of Controls when editing and running scenesYuri Sizov
2023-01-09Fix unpressable buttonsDanil Alexeev
2023-01-09Merge pull request #71045 from reduz/use-bitfield-in-core-typesRémi Verschelde
Use BitField<> in core type masks
2023-01-08Merge pull request #71037 from reduz/array-format-bitfieldRémi Verschelde
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-08Use BitField<> hint for ArrayFormatJuan Linietsky
This was missing in the conversion of bitflags to BitField<>.
2023-01-08Expose TabBar::clear_tabs to GDScriptStanislav Labzyuk
2023-01-08Expose Tree::deselect_all to GDScriptDawid Marzec
2023-01-07Fix text search in Tree with multiselectDawid Marzec
2023-01-07Merge pull request #36301 from KoBeWi/daddy_nodeRémi Verschelde
Add reparent methods to Node
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-06fix typo 'comleption' -> 'completion'Michael Bickel
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".
2023-01-05Merge pull request #70933 from fire/empty-organize-graph-nodeRémi Verschelde
Update GraphEdit to automatically arrange nodes if nothing is selected
2023-01-04Update graph_edit.cpp to automatically arrange nodes if nothing is selected.K. S. Ernest (iFire) Lee
2023-01-03Fix Tree overflow without scrolling being enabledHaoyu Qiu
2023-01-03Merge pull request #70865 from bruvzg/fd_crashRémi Verschelde
Fix file dialog crash on forward click when history is empty.
2023-01-03Merge pull request #70690 from Sauermann/fix-menubar-hoverRémi Verschelde
Fix hovering-color of MenuBar entries when reentering MenuBar
2023-01-03Merge pull request #70763 from Maran23/4-x-tree-icon-gap-with-hscrollbarRémi Verschelde
Fix Scene Tree Editor icons shift when the pane is small
2023-01-03Fix file dialog crash on forward click when history is empty.bruvzg
2022-12-31Use the vertical scrollbar when calculating the width that can be used for ↵Marius Hanl
drawing The horizontal scrollbar was used before, which is not correct as it has no influence to the drawing width Also fixed the other wrong locations
2022-12-29Fix hovering-color of MenuBar entries when reentering MenuBarMarkus Sauermann
When reentering MenuBar with the mouse cursor, the hovering-color was not set, because the previously hovered entry was still referenced in selected_menu. This PR resets selected_menu on mouse-exit.
2022-12-27Fix errors when `TabBar` is emptyMichael Alexsander
2022-12-23Merge pull request #70407 from Koyper/rich_text_bold_italicsYuri Sizov
[RTL] Fix push bold or italics not using bold_italics_font when required
2022-12-22Fixed RichTextLabel push bold/italic to correctly use bold_italic font.Koyper
2022-12-22Merge pull request #70334 from Sauermann/fix-button-group-docRémi Verschelde
Add configuration warning when ButtonGroup is used with non-toggleable buttons
2022-12-22Merge pull request #70413 from Koyper/rtl_rename_remove_lineRémi Verschelde
[RTL] Rename remove_line() to remove_paragraph() for naming consistancy.
2022-12-22Add configuration warning when ButtonGroup is used with non-toggleable buttonsMarkus Sauermann
Also fix ambiguous documentation of ButtonGroup.
2022-12-21Merge pull request #68255 from jbcolli2/ColorPickerBugRémi Verschelde
Fixed Issue #68194 involving ColorPicker being allowed to align horizontally when it shouldn't
2022-12-21Renamed RTL remove_line() to remove_paragraph().Koyper
2022-12-20Fix misaligned edit box when clicking on `Tree` items with different sizesMichael Alexsander
2022-12-19Merge pull request #70297 from Paulb23/fix-autocomplete-brace-completionRémi Verschelde
Fix autocomplete with autobrace completion not adding closing pair
2022-12-19Fix autocomplete with autobrace completion not adding closing pairPaulb23