summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2022-11-21Code simplifications found by cppcheckMarkus Sauermann
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
2022-11-19Rename TextureButton set_*_texture methods to set_texture_*Aaron Franke
2022-11-17Fix multithreaded RTL resetting scroll position on resize.bruvzg
2022-11-17Add `Control::localize_numeral_system` property to toggle automatic numeral ↵bruvzg
system conversion.
2022-11-17Merge pull request #68589 from marzecdawid/remove-default-file-save-filedialogRémi Verschelde
Remove auto selecting the first file for FileDialog with Save mode
2022-11-16Merge pull request #68573 from Sauermann/fix-optionbutton-popupRémi Verschelde
Fix position and size of OptionButton PopupMenu
2022-11-14Merge pull request #68531 from marzecdawid/fix-gap-with-scrolling-down-in-TreeRémi Verschelde
Fix a gap with scrolling down in Tree with arrow keys (#57636)
2022-11-14Fix a gap with scrolling down in Tree with arrow keys (#57636)Dawid Marzec
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-14Merge pull request #68448 from bruvzg/font_imp_trRémi Verschelde
[Font] Add an import option to pre-render all glyphs required for the translation.
2022-11-13Remove auto selecting the first file for FileDialog with Save file mode selectedDawid Marzec
2022-11-12Fix position and size of OptionButton PopupMenuMarkus Sauermann
Use the correct Transform2D (get_global_transform_with_canvas) for position and size.
2022-11-10[Font] Add an import option to pre-render all glyphs required for the ↵bruvzg
translation.
2022-11-08[Line Edit] Ignore placeholder text when drawing caret.bruvzg
2022-11-08Remove duplicate project settings definitionskobewi
2022-11-07Merge pull request #68337 from alfredbaudisch/multi-caret-selection-fixRémi Verschelde
Fixes mouse click deselect for multi and single carets
2022-11-07Code simplificationsMarkus Sauermann
CanvasItemEditor: - p_result == ADD_MOVE is always true in this switch-clause - both parts of the if-else-clause do the same thing and simplified an affine_inverse call ControlEditorToolbar: - private function ControlEditorToolbar::_anchor_to_position is used nowhere. Looks like copy and paste from CanvasItemEditor::_anchor_to_position ScrollContainer: - screen_is_touchscreen is always true, because otherwise the function already returned TextLine: - both parts of the if-else-clause do the same thing and simplified return statement
2022-11-06Mouse click deselect removes secondary carets and puts primary caret under ↵Alfred Reinold Baudisch
mouse position Fixes and closes #67993.
2022-11-06Merge pull request #68282 from alfredbaudisch/backspace-multi-careRémi Verschelde
Correctly deletes multi-caret selection with backspace
2022-11-05Pass caret index when deleting selection with backspaceAlfred Reinold Baudisch
Fixes and closes #67992
2022-11-04Add call_deferred() method to Callablekobewi
2022-11-04Merge pull request #68097 from KoBeWi/no_signal🔕Rémi Verschelde
Add `set_value_no_signal()` to Range
2022-11-04Merge pull request #67741 from cridenour/modular-color-pickerRémi Verschelde
Modularize the Color Picker via properties and new picker mode.
2022-11-04Modularize the Color Picker via properties.Chris Ridenour
2022-11-03Merge pull request #67540 from KoBeWi/hue_hue_hueRémi Verschelde
Add a separate hue gradient for OKHSL mode
2022-11-02Merge pull request #67928 from ↵Rémi Verschelde
YeldhamDev/we_really_need_a_callback_for_after_children_is_removed Fix problems with `tab_changed` signal when removing multiple tabs at once
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Merge pull request #68170 from alfredbaudisch/clear-selection-shortcutRémi Verschelde
Unified shortcut to clear carets and selections from TextEdit
2022-11-02Merge pull request #67788 from 98teg/flow-container-alignmentRémi Verschelde
Add alignment options to flow container
2022-11-02Unified shortcut to clear carets and selectionsAlfred Reinold Baudisch
Refactors`ui_text_remove_secondary_carets` from https://github.com/godotengine/godot/pull/68089 as `ui_text_clear_carets_and_selection`, with extra behaviour: - If there's only one active caret active with a selection, clears the selection. - In case there's more than one caret active, removes the secondary carets and clears selections. With this change, `TextEdit` then imitates the behaviour of VSCode for clearing carets and selections.
2022-11-02Merge pull request #63335 from Spartan322/button-shortcut-feedbackRémi Verschelde
Make `BaseButton` Shortcut feedback togglable
2022-11-02Change hue icons to horizontal GradientTexture2Dkobewi
2022-11-02Add a separate hue gradient for OKHSL modekobewi
2022-11-02Merge pull request #63562 from Rindbee/better-scroll-conditionsRémi Verschelde
Use more reasonable scrollable conditions in `ScrollContainer`
2022-11-02Merge pull request #67994 from YeldhamDev/how_suggestiveRémi Verschelde
Stop centering clicked suggestions in the autocomplete popup
2022-10-31Add set_value_no_signal() to Rangekobewi
2022-10-31Shortcut and Bind to Remove Secondary CaretsAlfred Reinold Baudisch
Adds the bind `ui_text_remove_secondary_carets` to TextEdit, with ESC as the default shortcut. When the bind is performed, if the TextEdit has multiple carets, `remove_secondary_carets` is called and secondary carets are removed. This is useful when multiple selects are performed with `add_select_for_next_occurrence` #67644 or when multiple multiple carets are manually added, then it's possible to go back to a single caret with a shortcut. Closes #67991
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-31Merge pull request #67489 from timothyqiu/auto-select-allRémi Verschelde
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-31Merge pull request #63590 from golfinq/fbg-paddingRémi Verschelde
Add padding options in theme for fg/bgcolor tags in RichTextLabel
2022-10-31Merge pull request #67888 from KoBeWi/overrideadRémi Verschelde
Remove `override_selected_font_color` property
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-31Merge pull request #67534 from KoBeWi/more_OK_in_OKHSLRémi Verschelde
Improve ColorPicker sliders in OKHSL mode
2022-10-31Merge pull request #67496 from Paulb23/text-edit-crashesRémi Verschelde
Fix TextEdit action and CodeEdit completion crash
2022-10-31Merge pull request #67139 from PucklaMotzer09/insert_caret_at_caretsRémi Verschelde
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-31Merge pull request #66352 from arkology/progressbar_atlastexture_radialRémi Verschelde
Support AtlasTexture in radial modes of TextureProgressBar
2022-10-29Allow selecting SpinBox & LineEdit text when focus entersHaoyu Qiu
2022-10-28Stop centering clicked suggestions in the autocomplete popupMichael Alexsander
2022-10-27Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrenceClay John
Add Selection and Caret for Next Occurrence of Selection