summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-03Merge pull request #56992 from YeldhamDev/smarter_popmenu_focusRémi Verschelde
2022-02-03Add auto-wrap mode property to the RichTextLabel, set default auto-wrap mode ↵bruvzg
to AUTOWRAP_WORD_SMART to match 3.x behavior.
2022-02-03Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière
get_viewport()->gui_get_focus_owner()
2022-02-03Merge pull request #57517 from groud/viewport_expose_gui_focusRémi Verschelde
2022-02-02[TextServer] Add function to change font, font size, and OpenType features ↵bruvzg
without invalidating line break points, justification points, or recreating shaped text buffer.
2022-02-01Exposes gui_release_focus and gui_get_focus_owner to ViewportGilles Roudière
2022-02-01Merge pull request #57358 from akien-mga/signal-bindings-objectRémi Verschelde
2022-02-01Merge pull request #57355 from akien-mga/method-bindings-clearer-typesRémi Verschelde
2022-01-31Merge pull request #56970 from YeldhamDev/rise_tabbar_riseRémi Verschelde
2022-01-31Bring `TabBar` to full parity with the `TabContainer` implementation.Michael Alexsander
2022-01-31Merge pull request #57405 from kleonc/texture_button_focus_only_logic_fixRémi Verschelde
2022-01-31Merge pull request #57276 from ↵Rémi Verschelde
IgorKordiukiewicz/fix-auto-brace-complete-wrap-on-selection
2022-01-31Merge pull request #57462 from mashumafi/master-fix-button-icon-alpha3Rémi Verschelde
Fix button icon_disabled_color alpha channel
2022-01-31Merge pull request #57456 from Paulb23/placeholder-colorRémi Verschelde
Move placeholder colour to theme item
2022-01-31Revert "Fix control node transform animation jitter with pivot offset"bruvzg
This reverts commit dfb7d46a2aaf9bef2c7dd067e699e70291062fb6.
2022-01-30Fix button icon_color_disabled alpha channelmashumafi
2022-01-30Move placeholder color to theme itemPaulb23
2022-01-30With auto_brace_complete enabled, selected text now gets wrapped by bracesIgor Kordiukiewicz
2022-01-29TextureButton Fix logic for drawing only the focus texturekleonc
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-28Make various improvements to OptionButtoneikobear
- Allow OptionButton selection to be set to -1 to signify no selection, both via API and in the editor. - Reset OptionButton selection to -1 when the selected item has been removed. - Fully convert PopupMenu to a zero-based ID system, which improves an inconsistency in generated IDs when making new items in the editor.
2022-01-28Improve some signal bindings to use specific `Object` subtypesRémi Verschelde
2022-01-28Improve some method bindings to use specific `Object` subtypesRémi Verschelde
This was made possible by changes to `VariantCaster` which now make it possible to pass any `Object`-derived type as pointer.
2022-01-28Merge pull request #57344 from bruvzg/rtl_fix_tab_offsetRémi Verschelde
2022-01-28Fix RTL table offset, if indent is set.bruvzg
2022-01-28Merge pull request #57116 from bruvzg/win_net_shareRémi Verschelde
2022-01-28[RTL] Fix calculation of the last line height.bruvzg
2022-01-27Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde
Allow method binds to take Object subclasses as arguments
2022-01-27[RTL] Fix min. height calculation when fit_content_height is enabled.bruvzg
2022-01-27Merge pull request #57281 from Rubonnek/rename-subsequenceRémi Verschelde
2022-01-26Rename String::is_subsequence_ofi to String::is_subsequence_ofnWilson E. Alvarez
2022-01-26Fix RichTextLabel [ol type=1] tag closing.bruvzg
2022-01-25Fix TextEdit placeholder not checking line countPaulb23
2022-01-25Make popup menus focus items automatically when not using the mouseMichael Alexsander
2022-01-25Allow method binds to take Object subclasses as argumentsTechnoPorg
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25Merge pull request #57189 from bruvzg/fix_shortcut_context_unsetRémi Verschelde
2022-01-25Allow unsetting `shortcut_context`.bruvzg
2022-01-24Fix 2D Pan Toolkobewi
2022-01-24Merge pull request #55884 from ↵Rémi Verschelde
preslavnpetrov/ctrl-enter-deleting-selection-fix-master
2022-01-24[Windows] Add support for handling network share paths.bruvzg
2022-01-24Merge pull request #57100 from Paulb23/textedit-placeholderRémi Verschelde
2022-01-23Fix selection being deleted and indentation not being accounted forPreslavb
2022-01-23BaseButton: Rename `pressed` property to `button_pressed`Rémi Verschelde
This fixes a conflict with the `pressed` signal. The new name is temporary and only intended to solve the conflict for upcoming alpha builds. Discussions are still ongoing regarding the BaseButton API and how to rename and refactor more of its properties, signals and methods to have a clearer API in 4.0.
2022-01-23Add Placeholder to TextEditPaulb23
2022-01-23[RTL] Fix missing line separation in the paragraph offset and click calculation.bruvzg
2022-01-23Minor tweaks and fixes to panningkobewi
2022-01-23Merge pull request #57000 from KoBeWi/UNLIMITED_PANNINGRémi Verschelde