summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2021-02-24Fixed 'nonexistent action' errors spammed at startup on OSXEric M
2021-02-22Add preview Sun and Environmentreduz
* Adds both a preview sun and preview environment to the 3D editor. * They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene. * If any is added to the scene, the respective preview is disabled. * Changed WorldEnvironment to better handle multiple node versions. * Added a function in SceneTree to get the first node in a group. * Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
2021-02-22Merge pull request #45994 from Jummit/expose-edit-selectedRémi Verschelde
Expose edit_selected in Tree
2021-02-22expose edit_selected in TreeJummit
2021-02-21Merge pull request #46230 from gongpha/keep-hue-valueRémi Verschelde
Keep Hue value when Saturation or Value is zero
2021-02-21Label::set_lines_skipped Fail if passed a negative valuekleonc
2021-02-19Warn when setting Control size inside ready()Tomasz Chabora
2021-02-19Keep Hue value when Saturation or Value is zeroKongfa Waroros
2021-02-18Removed hardcoded shortcuts from /scene and converted to input actionsEric M
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.
2021-02-18Reorganize Project Settingsreduz
-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.
2021-02-18Avoid signal methods in ColorPicker to access the tree when it isn't in the treeKongfa Waroros
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