summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2021-02-13Merge pull request #45858 from nekomatata/text-edit-style-content-marginsRémi Verschelde
TextEdit respects content margin from StyleBox
2021-02-13Merge pull request #45881 from nekomatata/textedit-wrap-autoscrollRémi Verschelde
Fix TextEdit autoscroll with wrapped lines
2021-02-12Fix TextEdit autoscroll with wrapped linesPouleyKetchoupp
Index to find the last line wrap index was off by one, which prevented the first wrapped line to trigger autoscroll.
2021-02-12TextEdit respects content margin from StyleBoxPouleyKetchoupp
Now TextEdit adjusts x & y offset according to the corresponding StyleBox when in normal or read-only mode. In order to handle bottom content margin, wrapped lines that are entirely outside the stylebox content area are not drawn.
2021-02-12Fix LineEdit minimum widthreduz
-Changed theme setting name to make more sense of what it does -Reduced amount of minimum characters, so minimum size is smaller.
2021-02-12Use get_char_size(' ') to calculate space width.bruvzg
2021-02-11Merge pull request #45870 from gongpha/graphedit-connection-updateRémi Verschelde
Update GraphEdit when GraphNode's slot is updated
2021-02-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-02-11Update GraphEdit when GraphNode's slot is updatedKongfa Waroros
2021-02-09Initialize class variables with default values in scene/ [2/2]Rafał Mikrut
2021-02-09Merge pull request #45812 from RandomShaper/keep_selected_visibleRémi Verschelde
Keep selected node visible after filter change
2021-02-08Merge pull request #45806 from KoBeWi/forest_of_deselectionRémi Verschelde
Set selected Tree item to null when deselected
2021-02-08Update ColorPicker controls when entering treeKanabenki
2021-02-08Expose Tree::scroll_to_item()Pedro J. Estébanez
2021-02-07Set selected Tree item to null when deselectedkobewi
Co-authored-by: Brody Eller <wviper3@gmail.com>
2021-02-07TextEdit: When left mouse is pressed to place the cursor, do not immediately ↵Oliver Dick
adjust the viewport when cursor_set_line is called, but afterwards on cursor_set_column (effectively when the cursor reached its final position) Fixes #45770
2021-02-04doc: Don't bind argument names with p_ prefixRémi Verschelde
This prefix is used in the C++ codebase, not in the scripting API.
2021-02-01Merge pull request #45110 from fmazan/completion-panel-positioningRémi Verschelde
Fixed completion and hint panel positioning in TextExit
2021-02-01Merge pull request #45549 from flyingpimonster/graphnode-iconRémi Verschelde
GraphNode: Add properties for custom icons
2021-01-31Use integer coordinates for the font glyphs rendering.bruvzg
2021-01-28GraphNode: Add properties for custom iconsJames Westman
Add properties for the slots' icon textures, so they can be set easily in the editor. Fixes #45487.
2021-01-26Fix unintended SpinBox mouse captureVolka
2021-01-26Merge pull request #44349 from KoBeWi/drop_the_data!Rémi Verschelde
Allow to override drop data in LineEdit
2021-01-26Merge pull request #45220 from Calinou/range-ratio-equal-min-max-no-errorRémi Verschelde
Make Range return 1.0 ratio if minimum and maximum values are equal
2021-01-26Merge pull request #45369 from naithar/fix/line_edit_clear-4.0Rémi Verschelde
[4.0] [GUI] Fix LineEdit clearing
2021-01-26[GUI] Enforce virtual keyboard redisplay on clearSergey Minakov
2021-01-26Exposed find_next_valid_focus and find_prev_valid_focus.Nils Reid
2021-01-26Merge pull request #44194 from madmiraal/fix-font_selected_colorRémi Verschelde
Change themes font_color_selected to font_selected_color
2021-01-25Fix minimap capturing events and improve its themeYuri Sizov
Add an editor setting for minimap opacity in visual editors
2021-01-24Change themes *_color_* to *_*_colorMarcel Admiraal
Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
2021-01-18RichTextLabel: adds separate `get_total_x_count`, `get_visible_x_count` and ↵bruvzg
`scroll_to_x` functions for wrapped lines and paragraphs (newlines).
2021-01-15Make Range return 1.0 ratio if minimum and maximum values are equalHugo Locurcio
An error message is also no longer printed. This matches the behavior found in most UI frameworks where having equal minimum and maximum values is considered acceptable. This closes #43179.
2021-01-15Merge pull request #33685 from Scony/improve-item-lists-add-item-methodsRémi Verschelde
ItemList's add_(icon_)item method returns id of added item
2021-01-15Merge pull request #45196 from Paulb23/text_edit_draw_behind_gutterRémi Verschelde
Fix TextEdit drawing Caret and icons out of bounds
2021-01-15Merge pull request #45149 from pycbouh/ge-disconnect-crashRémi Verschelde
Prevent signal disconnection attempts on invalid references
2021-01-15Merge pull request #44870 from ↵Rémi Verschelde
alexpech12/fix-rich-text-label-set-visible-characters Keep RichTextLabel visible character properties in sync
2021-01-14Fix TextEdit drawing Caret and icons out of boundsPaulb23
2021-01-14Prevent signal disconnection attempts on invalid referencesYuri Sizov
2021-01-14Keep RichTextLabel visible character properties in syncAlexander Pech
The RichTextLabel class is inconsistent in how it updates the visible_characters and percent_visible properties when either is changed. To keep both properties consistent, update percent_visible when setting the visible_characters property. For both properties, when setting one, notify change for the other. Docs updated for member set_visible_characters on RichTextLabel class.
2021-01-12Fix errors when removing non Control node from TabContainerRafał Mikrut
2021-01-11Fixed completion and hint panel positioning in TextExitFilip
2021-01-08RichTextLabel: Fix build after #35505Rémi Verschelde
Should have rebased before merging.
2021-01-08Merge pull request #35505 from dalexeev/rtl_colorsRémi Verschelde
Unified named colors in RichTextLabel
2021-01-05Makes script editor not draw non existent spaces.David Kennedy
Fixes #44775 Editor is incorrectly drawing non existent space.
2021-01-05Revert "solved ctrl + alt + special character Issue #6851"Rémi Verschelde
2021-01-04Merge pull request #44906 from ↵Rémi Verschelde
EricEzaM/PR/popup-menu-fix-not-matching-button-size Fixed PopupMenu not matching parent MenuButton/OptionButton width
2021-01-04Fixed PopupMenu not matching parent MenuButton/OptionButton widthEric M
2021-01-04Fixed hover highlight style rect of items being cut off.Eric M
This was caused by an incorrect calculation of the height of each item when determining the minimum size, plus a few things which were leftover after the PopupMenu rework.
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-29Merge pull request #44724 from Chaosus/popup_separatorRémi Verschelde
Added optional id parameter to `PopupMenu::add_separator`