Age | Commit message (Collapse) | Author |
|
This removes hardcoded actions from things like LineEdit and TextEdit.
Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
|
|
-Advanced Settings toggle also hides advanced properties when disabled
-Simplified Advanced Bar (errors were just plain redundant)
-Reorganized rendering quality settings.
-Reorganized miscelaneous settings for clean up.
|
|
|
|
Fix various small issues with PopupMenu
|
|
Fix minimum_character_width in LineEdit
|
|
Expose RichTextLabel selection to script
|
|
|
|
|
|
|
|
Expose existing get_selection_text and add methods to get the current
selection index from and index to.
|
|
|
|
|
|
[CTL] Add missing theme properties for outlines, fix underline scaling, and RTL cell padding.
|
|
|
|
|
|
Keep Label's min height when empty
|
|
TextEdit respects content margin from StyleBox
|
|
Fix TextEdit autoscroll with wrapped lines
|
|
|
|
Index to find the last line wrap index was off by one, which prevented the first wrapped line to trigger autoscroll.
|
|
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.
|
|
-Changed theme setting name to make more sense of what it does
-Reduced amount of minimum characters, so minimum size is smaller.
|
|
|
|
Update GraphEdit when GraphNode's slot is updated
|
|
-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.
|
|
|
|
|
|
Keep selected node visible after filter change
|
|
Set selected Tree item to null when deselected
|
|
|
|
|
|
Co-authored-by: Brody Eller <wviper3@gmail.com>
|
|
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
|
|
This prefix is used in the C++ codebase, not in the scripting API.
|
|
Fixed completion and hint panel positioning in TextExit
|
|
GraphNode: Add properties for custom icons
|
|
|
|
Add properties for the slots' icon textures, so they can be set easily
in the editor.
Fixes #45487.
|
|
|
|
Allow to override drop data in LineEdit
|
|
Make Range return 1.0 ratio if minimum and maximum values are equal
|
|
[4.0] [GUI] Fix LineEdit clearing
|
|
|
|
|
|
Change themes font_color_selected to font_selected_color
|
|
Add an editor setting for minimap opacity in visual editors
|
|
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
|
|
`scroll_to_x` functions for wrapped lines and paragraphs (newlines).
|
|
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.
|
|
ItemList's add_(icon_)item method returns id of added item
|