summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2021-02-16Merge pull request #46081 from YeldhamDev/popupmenu_fixesRémi Verschelde
Fix various small issues with PopupMenu
2021-02-16Merge pull request #46088 from groud/fix_line_editRémi Verschelde
Fix minimum_character_width in LineEdit
2021-02-16Merge pull request #45899 from nekomatata/richtextlabel-get-selectionRémi Verschelde
Expose RichTextLabel selection to script
2021-02-16Fix minimum_character_width in LineEditGilles Roudière
2021-02-16Fix various small issues with PopupMenuMichael Alexsander
2021-02-16Select TreeItem if none is selectedkobewi
2021-02-15Expose RichTextLabel selection to scriptPouleyKetchoupp
Expose existing get_selection_text and add methods to get the current selection index from and index to.
2021-02-15Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead.Eric M
2021-02-14RichTextLabel::add_image Fail if passed image has no areakleonc
2021-02-14Merge pull request #44747 from bruvzg/missing_outlinesRémi Verschelde
[CTL] Add missing theme properties for outlines, fix underline scaling, and RTL cell padding.
2021-02-14[CTL] Fix RichTextLabel cell horizontal padding.bruvzg
2021-02-14[CTL] Add missing font outline drawing routines and theme constants.bruvzg
2021-02-14Merge pull request #45942 from YeldhamDev/label_height_emptyRémi Verschelde
Keep Label's min height when empty
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-12Keep Label's min height when emptyMichael Alexsander
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