summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2022-09-05Merge pull request #64840 from maximkulkin/graph-edit-node-selectionRémi Verschelde
Add GraphNode 'selected' and 'deselected' signals, simplify GraphEdit
2022-09-05Add GraphNode 'selected' and 'deselected' signals, simplify GraphEditMaxim Kulkin
2022-09-05Merge pull request #65028 from groud/fix_split_containerRémi Verschelde
Improve SplitContainer behavior, keeping asked split position whenever possible
2022-09-02Merge pull request #65250 from YuriSizov/theme-owner-risesRémi Verschelde
2022-09-02Merge pull request #59589 from Calinou/rename-or-lesser-range-property-hintRémi Verschelde
2022-09-02Un-defer the initial theme changed notificationYuri Sizov
Co-authored-by: Rindbee <idleman@yeah.net>
2022-09-02Add ThemeOwner type for managing theme propagation and lookupYuri Sizov
2022-09-02Merge pull request #64917 from Tim-Fronsee/fix/add-gutter-total-widthRémi Verschelde
2022-09-02Improve SplitContainer behavior, keeping asked split whenever possibleGilles Roudière
2022-09-02Rename `or_lesser` range property hint to `or_less`Hugo Locurcio
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
2022-09-02Merge pull request #65210 from YuriSizov/control-customizable-cache-p3Rémi Verschelde
2022-09-02Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde
2022-09-02Fix theme propagation in various parts of the editorYuri Sizov
2022-09-02Merge pull request #64724 from KoBeWi/HVBoxContainerRémi Verschelde
2022-09-02Add `is_zero_approx` methods to `Vector2`, `3`, and `4`Jonathan Nicholl
2022-09-01Merge pull request #65213 from Mickeon/fix-label-visible-ratioRémi Verschelde
2022-09-01Merge pull request #64198 from Geometror/add-bitmap-testsRémi Verschelde
2022-09-01Rework oriented containerskobewi
2022-09-01Fix Label & RichTextLabel's visible_ratio not workingMicky
2022-09-01Merge pull request #65192 from YuriSizov/control-customizable-cache-p2Rémi Verschelde
2022-09-01Merge pull request #65156 from YuriSizov/control-customizable-cache-p1Rémi Verschelde
2022-09-01Refactor BitMap and add testsHendrik Brucker
Co-authored-by: Resul Çelik <resul_celik@hotmail.com>
2022-09-01Merge pull request #65132 from bruvzg/global_menu_shortcuts_contextRémi Verschelde
2022-09-01Add a lifecycle method for manual theme item caching to ControlYuri Sizov
2022-09-01Add dumb and manual theme caching systems to WindowYuri Sizov
2022-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
2022-09-01Merge pull request #65117 from YeldhamDev/menubar_key_fixRémi Verschelde
Fix switching `MenuBar`'s menus with the keys while mouse hovering
2022-09-01Merge pull request #65162 from YuriSizov/editor-gradients-unitedRémi Verschelde
Unite `GradientEdit` and `GradientEditor` as editor-only widget
2022-09-01[macOS] Handle accelerator and click events of the global menu items separately.bruvzg
2022-09-01[TextServer] Add support for trimming edge spaces on line break.bruvzg
2022-08-31Unite GradientEdit and GradientEditor as editor-only widgetYuri Sizov
2022-08-31Fix TextEdit::gutters_width (total gutter width) when adding & removing a ↵Tim Fronsee
gutter by calling TextEdit::_update_gutter_width in TextEdit::add_gutter & TextEdit::remove_gutter Update TextEdit gutters subcase, gutter add and remove to ensure gutter total width is correct Fix test_code_edit symbol lookup test case to include padding (+2)
2022-08-30Fix switching `MenuBar`'s menus with the keys while mouse hoveringMichael Alexsander
2022-08-30Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bgRémi Verschelde
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Merge pull request #65039 from Mickeon/rename-treeitem-tooltipRémi Verschelde
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Add background to TabContainer's tabbar and editor docksYuri 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-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-29Merge pull request #64964 from MewPurPur/reorganize-label-propertiesRémi Verschelde
Reorganize Label and RichTextLabel properties
2022-08-29Merge pull request #64960 from YeldhamDev/more_hl_stuffRémi Verschelde
2022-08-29Merge pull request #64967 from YeldhamDev/pm_up_fixRémi Verschelde
2022-08-29Merge pull request #64972 from YeldhamDev/you_too_menubarRémi Verschelde
2022-08-28Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-28Reorganized Label and RichTextLabel propertiesVolTer
2022-08-28Add item auto-highlighting to `MenuBar`Michael Alexsander
2022-08-28Fix some corner cases in the `Menu/OptionButton` item auto-highlightMichael Alexsander