Rémi Verschelde
09b5d6886f
Merge pull request #46563 from pycbouh/graph-edit-hide-minimap-properly
...
Properly hide GraphEdit's minimap
2021-03-01 17:26:50 +01:00
Yuri Sizov
2ff1c48e0c
Properly hide GraphEdit's minimap
2021-03-01 18:19:48 +03:00
Rémi Verschelde
ec7053259b
Merge pull request #41437 from KoBeWi/put_it_here
...
Allow to create a node at specific position
2021-03-01 15:48:53 +01:00
Yuri Roubinsky
e3131adc1c
Fix GraphEdit connects when graph is zoomed/unzoomed
2021-02-27 20:26:35 +03:00
Tomasz Chabora
8df22a03c4
Allow to create a node at specific position
2021-02-26 14:40:28 +01:00
Rémi Verschelde
494e1cb148
Merge pull request #38918 from EricEzaM/fix-slider-focus-on-scroll-input
...
Fixed issue with slider focus and scroll input
2021-02-25 18:09:04 +01:00
Eric M
d91e915d79
Fixed 'nonexistent action' errors spammed at startup on OSX
2021-02-24 23:16:22 +10:00
reduz
d6a9cff8b7
Add preview Sun and Environment
...
* 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-22 16:56:29 -03:00
Rémi Verschelde
cb29e6c49c
Merge pull request #45994 from Jummit/expose-edit-selected
...
Expose edit_selected in Tree
2021-02-22 16:29:03 +01:00
Jummit
13fb24cb6f
expose edit_selected in Tree
2021-02-22 15:50:21 +01:00
Rémi Verschelde
14f6f92a72
Merge pull request #46230 from gongpha/keep-hue-value
...
Keep Hue value when Saturation or Value is zero
2021-02-21 23:36:19 +01:00
kleonc
d7bb7cad47
Label::set_lines_skipped Fail if passed a negative value
2021-02-21 14:23:57 +01:00
Tomasz Chabora
84da090a69
Warn when setting Control size inside ready()
2021-02-19 18:32:24 +01:00
Kongfa Waroros
27749711b2
Keep Hue value when Saturation or Value is zero
2021-02-19 23:53:00 +07:00
Eric M
49714b0963
Removed hardcoded shortcuts from /scene and converted to input actions
...
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-18 16:22:51 +01:00
reduz
64140eaf42
Reorganize Project Settings
...
-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-18 11:23:34 -03:00
Kongfa Waroros
7c6646c8ac
Avoid signal methods in ColorPicker to access the tree when it isn't in the tree
2021-02-18 20:30:22 +07:00
Rémi Verschelde
bab06c9d06
Merge pull request #46081 from YeldhamDev/popupmenu_fixes
...
Fix various small issues with PopupMenu
2021-02-16 13:59:30 +01:00
Rémi Verschelde
ba8b95a2a1
Merge pull request #46088 from groud/fix_line_edit
...
Fix minimum_character_width in LineEdit
2021-02-16 11:11:03 +01:00
Rémi Verschelde
584240b0d7
Merge pull request #45899 from nekomatata/richtextlabel-get-selection
...
Expose RichTextLabel selection to script
2021-02-16 10:56:37 +01:00
Gilles Roudière
737dd5ee8c
Fix minimum_character_width in LineEdit
2021-02-16 10:51:17 +01:00
Michael Alexsander
96fa719026
Fix various small issues with PopupMenu
2021-02-16 01:12:08 -03:00
kobewi
282639d653
Select TreeItem if none is selected
2021-02-16 01:36:16 +01:00
PouleyKetchoupp
4586357dde
Expose RichTextLabel selection to script
...
Expose existing get_selection_text and add methods to get the current
selection index from and index to.
2021-02-15 17:26:58 -07:00
Eric M
26c29cc0d7
Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead.
2021-02-15 15:45:25 +10:00
kleonc
a4afdd4a77
RichTextLabel::add_image Fail if passed image has no area
2021-02-14 16:09:55 +01:00
Rémi Verschelde
cdfd3ffe15
Merge pull request #44747 from bruvzg/missing_outlines
...
[CTL] Add missing theme properties for outlines, fix underline scaling, and RTL cell padding.
2021-02-14 13:49:14 +01:00
bruvzg
1f60ac1e08
[CTL] Fix RichTextLabel cell horizontal padding.
2021-02-14 14:11:49 +02:00
bruvzg
d78336c65e
[CTL] Add missing font outline drawing routines and theme constants.
2021-02-14 14:11:44 +02:00
Rémi Verschelde
6fb1ed2bca
Merge pull request #45942 from YeldhamDev/label_height_empty
...
Keep Label's min height when empty
2021-02-14 13:10:54 +01:00
Rémi Verschelde
7128f09a5d
Merge pull request #45858 from nekomatata/text-edit-style-content-margins
...
TextEdit respects content margin from StyleBox
2021-02-13 17:41:53 +01:00
Rémi Verschelde
48e7cced9f
Merge pull request #45881 from nekomatata/textedit-wrap-autoscroll
...
Fix TextEdit autoscroll with wrapped lines
2021-02-13 17:41:20 +01:00
Michael Alexsander
85dc55a82c
Keep Label's min height when empty
2021-02-12 21:13:49 -03:00
PouleyKetchoupp
121030940c
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.
2021-02-12 13:44:46 -07:00
PouleyKetchoupp
100fc26f39
TextEdit respects content margin from StyleBox
...
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-12 13:22:06 -07:00
reduz
28537d8c84
Fix LineEdit minimum width
...
-Changed theme setting name to make more sense of what it does
-Reduced amount of minimum characters, so minimum size is smaller.
2021-02-12 17:04:38 +01:00
bruvzg
6c9e608a34
Use get_char_size(' ') to calculate space width.
2021-02-12 15:06:50 +02:00
Rémi Verschelde
604188c411
Merge pull request #45870 from gongpha/graphedit-connection-update
...
Update GraphEdit when GraphNode's slot is updated
2021-02-11 13:11:50 +01:00
reduz
1aa2823fa3
Removed _change_notify
...
-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-10 19:31:24 -03:00
Kongfa Waroros
fe6c8d48e6
Update GraphEdit when GraphNode's slot is updated
2021-02-11 01:07:54 +07:00
Rafał Mikrut
7961a1dea3
Initialize class variables with default values in scene/ [2/2]
2021-02-09 18:24:36 +01:00
Rémi Verschelde
df9c98e107
Merge pull request #45812 from RandomShaper/keep_selected_visible
...
Keep selected node visible after filter change
2021-02-09 10:43:21 +01:00
Rémi Verschelde
59924a09e8
Merge pull request #45806 from KoBeWi/forest_of_deselection
...
Set selected Tree item to null when deselected
2021-02-08 22:22:52 +01:00
Kanabenki
03d4ebf129
Update ColorPicker controls when entering tree
2021-02-08 19:25:50 +01:00
Pedro J. Estébanez
177b804f30
Expose Tree::scroll_to_item()
2021-02-08 02:19:13 +01:00
kobewi
ef8ec59f2f
Set selected Tree item to null when deselected
...
Co-authored-by: Brody Eller <wviper3@gmail.com>
2021-02-07 22:12:52 +01:00
Oliver Dick
8d598693fc
TextEdit: When left mouse is pressed to place the cursor, do not immediately 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-07 00:28:57 +01:00
Rémi Verschelde
69152af45d
doc: Don't bind argument names with p_ prefix
...
This prefix is used in the C++ codebase, not in the scripting API.
2021-02-04 14:45:06 +01:00
Rémi Verschelde
264504d76d
Merge pull request #45110 from fmazan/completion-panel-positioning
...
Fixed completion and hint panel positioning in TextExit
2021-02-01 20:50:17 +01:00
Rémi Verschelde
c4811ab525
Merge pull request #45549 from flyingpimonster/graphnode-icon
...
GraphNode: Add properties for custom icons
2021-02-01 20:49:19 +01:00