summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
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-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
2022-12-19Restore 'rotation_degrees' properties.Juan Linietsky
By popular demand, restoring the helper properties to rotate objects in degrees. Affected are local and global rotations for: * Node2D * Node3D * Control
2022-12-17Add `uri` property for LinkButtonZak
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-17Merge pull request #70168 from Haydoggo/autocomplete-placement-fixRémi Verschelde
Fix autocomplete box placement
2022-12-17Fix autocomplete box placementHayden Leete
2022-12-15[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.bruvzg
2022-12-15Merge pull request #69680 from LucasLaukka/bugfix-line_editRémi Verschelde
Fix color picker showing incorrect number of digits when changing display scale
2022-12-15[RTL] Fix nested tables getting parent offset applied multiple times.bruvzg
2022-12-14[RTL] Fix image click detection.bruvzg
2022-12-13[TextEdit] Fix IME intermediate text not displayed when TextEdit is empty ↵bruvzg
and placeholder is set.
2022-12-13Fix crash after executing ItemList.set_icon_scaleHaoyu Qiu
2022-12-12Merge pull request #61855 from Calinou/popup-centered-minsize-fix-freezeRémi Verschelde
Fix infinite loop when calling `Control.popup_centered_minsize()`
2022-12-12Merge pull request #68546 from marzecdawid/fix-deselect-all-in_treeRémi Verschelde
Fix errors while deselecting all tree items; issue #65185
2022-12-11Add PropertyInfo overload for GLOBAL_DEFkobewi
2022-12-10Merge pull request #69844 from AmyGilhespy/patch-1Rémi Verschelde
Fix glyph_flags typo.
2022-12-10Merge pull request #68728 from Rindbee/fix-wrong-editRémi Verschelde
Make sure the popup editor is hidden when selected
2022-12-09Fix glyph_flags typo.AmyGilhespy
2022-12-09Merge pull request #69353 from YuriSizov/window-be-more-like-your-brotherRémi Verschelde
Copy local theme overrides from `Control` to `Window`
2022-12-08RichTextLabel: decouple meta cursor from underlineLluc Pares
This commit decouples the type of cursor used when the underline of meta tag is set to False. Previous to this commit setting the meta underline to false in the RichTextLabel would also make it show the arrow cursor instead of the hand cursor. Making the meta tag with no underline should not have any effect on the type of cursor, since the text will still be clickable it should be expected to have a hand cursor. The same behavior is seen in other languages, like HTML+CSS, where the setting "text-decoration" to "none" for the links, disables the underline but maintains the clickable cursor. Fixes godotengine/godot-proposals#3193