Rémi Verschelde
948a2a03d2
Merge pull request #33091 from MCrafterzz/fix10567
...
Improved project creation UX
2019-10-29 13:27:41 +01:00
MCrafterzz
336e61b36a
Improved UX of selecting directories in (Editor)FileDialog by hiding unused gui elements and moving the drive selection
2019-10-29 11:36:09 +01:00
Rémi Verschelde
aaa9751de3
Merge pull request #33120 from YeldhamDev/popup_dialog_panel_style
...
Add "panel" style to PopupDialog
2019-10-28 12:54:03 +01:00
Rémi Verschelde
0cae264d79
Merge pull request #33119 from creikey/fix-quote-malfunction
...
Remove duplicate quote in displayed quote type
2019-10-28 08:08:38 +01:00
Michael Alexsander
d92123ed97
Add "panel" style to PopupDialog
2019-10-27 19:45:03 -03:00
Cameron Reikes
67ab03e245
Remove duplicate quote in displayed quote type
...
- fixes #32688
- fixes #32593
2019-10-27 15:21:25 -07:00
Rémi Verschelde
2751cea0d4
Merge pull request #33066 from Tabas32/fix_indentation
...
Fixed indenting issue with comment at end of line
2019-10-27 13:42:53 +01:00
Paulb23
2e2a049d3c
Improve performance of connection info in the script editor
2019-10-27 11:07:19 +00:00
Rémi Verschelde
9e572b5bac
Merge pull request #33032 from Calinou/filedialog-scroll-to-top
...
Scroll back to the top after opening a directory in FileDialog
2019-10-27 10:06:34 +01:00
Paulb23
df0c8386a9
Fix text minimap crash when last line is folded
2019-10-26 13:37:25 +01:00
Rémi Verschelde
c39238c7d2
Merge pull request #32870 from bergmannf/27850_rtl_bold_italic
...
Add push_* methods for fonts in rich_text_label
2019-10-25 23:17:59 +02:00
Marian
3322d19cb3
Just initialization, needed by compiler
2019-10-25 16:14:24 +02:00
Marian
616f02e905
Fixed indenting issue with comment at end of line
2019-10-25 15:01:43 +02:00
Zatherz
72d2248276
Don't terminate search if begin_key doesn't fit
...
Previously this code would continue onto the next iteration of the loop if the line was smaller in size than begin_key, meaning that a situation where begin_key.length() > end_key.length() would cause weird behavior with newlines. Now both the checks for begin_key and end_key are in their own condition and do not skip the entire iteration if they can't be found.
2019-10-24 21:59:02 +02:00
volzhs
63e6b1ecce
Fix rendering tooltip
2019-10-24 22:48:20 +09:00
Hugo Locurcio
c3b9319d78
Scroll back to the top after opening a directory in FileDialog
...
This also changes the behavior in EditorFileDialog.
This closes #26041 .
2019-10-24 15:40:47 +02:00
SeleckyErik
61bda112bd
Refactor VideoPlayer and VideoStream
...
VideoStream:
- Fix const correctenss
VideoPlayer:
- Remove unused member variable last_frame
- Move _mix_audios function definition to source file
- Fix function parameter naming to match p_ convention
- Fix const correctness
- Add null checking
2019-10-24 01:35:47 +01:00
Rémi Verschelde
b1c6ba9b24
Merge pull request #32972 from codecustard/fix_spinbox_not_releasingfocus
...
Fixes spinbox not releasing focus on value change
2019-10-23 07:43:47 +02:00
Eoin O'Neill
601b216605
Shadows Now Properly Translate by RichTextEffect offset.
...
Bugfix 32981.
2019-10-22 22:15:36 -07:00
Rémi Verschelde
78848bbfea
Merge pull request #32796 from Paulb23/set_text_caret
...
Changed `set_text` to place caret at start of the text.
2019-10-22 22:44:12 +02:00
Rémi Verschelde
9f28803927
Merge pull request #32940 from nekomatata/text-edit-clear-colors
...
TextEdit syntax highlighting fixes
2019-10-22 20:40:20 +02:00
Rémi Verschelde
b365dc3441
Merge pull request #32965 from volzhs/richtextlabel-scroll-active
...
Fix scrolling RichTextLabel with scroll_active=false
2019-10-22 20:39:12 +02:00
PouleyKetchoupp
e3d4b96ba7
Fixed crashes when renaming a state in AnimationNodeStateMachineEditor
...
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list.
It happens in the state machine case by hiding a line edit control when it loses focus.
Fixes #23808
2019-10-22 16:28:11 +02:00
Rémi Verschelde
97a4fe79fb
Merge pull request #32902 from nekomatata/auto-indent-bracket-fix
...
Auto-indent after opening bracket and parenthesis in the script editor
2019-10-22 14:30:16 +02:00
Rémi Verschelde
b67537b14b
Merge pull request #32864 from nekomatata/rich-text-image-size
...
Support for resized images in RichTextLabel
2019-10-22 13:46:11 +02:00
Rémi Verschelde
1e0fb0dc14
Merge pull request #32833 from nekomatata/label-autowrap-fix
...
Allow Label autowrap to cut words when they exceed line width
2019-10-22 12:29:49 +02:00
Emmanuel Barroga
53d6d37fcf
Fixes spinbox not releasing focus on value change
...
Trying to release focus of the spinbox's lineedit would not work when done in the "value_changed" callback. The reason is because the "value_change" signal is called first, then the "get_focus" method is called next. This causes the spinbox to get_focus after you try to release focus within the "value_changed" callback.
To resolve this, spinbox should get focus first and then emit "value_changed".
2019-10-21 16:42:17 -07:00
volzhs
3e738b1798
Fix scrolling RichTextLabel with scroll_active=false
2019-10-22 06:05:10 +09:00
PouleyKetchoupp
4247c21cb0
TextEdit syntax highlighting fixes
...
- Fixed visual update when using add_keyword_color(), add_color_region(), clear_colors() in scripts
- More accurate description for clear_colors() in TextEdit documentation
2019-10-20 17:40:09 +02:00
Paulb23
ee94081b4a
Fixed -1 minimap index when smooth scrolling is enabled
2019-10-20 13:27:53 +01:00
PouleyKetchoupp
74d7cbf920
Auto-indent after opening bracket and parenthesis in the script editor
...
This change makes auto-indent work the same way as for curly brackets, so '[', '(', '{' all act the same.
Fixes #32897
2019-10-18 11:02:05 +02:00
Florian Bergmann
47000f8860
Add push_* methods for fonts in rich_text_label
...
Provides method to push different font styles.
If no fonts are set nothing will happen, when the methods are used.
Fixes #27850
2019-10-16 15:22:56 +02:00
PouleyKetchoupp
9f8ffd4146
Support for resized images in RichTextLabel
...
BBCode Tag:
[img=<width>x<height>]{path}[/img]
2019-10-16 12:00:15 +02:00
PouleyKetchoupp
8df330bacd
Allow Label autowrap to cut words when they exceed line width
...
Fixes #30832
2019-10-16 09:57:44 +02:00
Rémi Verschelde
44293db446
Merge pull request #32820 from qarmin/small_fixes_static_analyzer
...
Small fixes to redundand code, copy paste bugs
2019-10-15 09:54:58 +02:00
Yuri Roubinsky
0a0c3f7fe0
Fix color of FileDialog icons
2019-10-14 16:23:56 +03:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Paulb23
d579d2bf1d
Fix undo / redo scrollbar calulations
2019-10-13 15:34:28 +01:00
Paulb23
aea0761b25
Place caret at 0,0 when setting text not at the end
2019-10-13 15:29:20 +01:00
Rémi Verschelde
be0da31f7a
Merge pull request #32628 from Paulb23/issue_32609_set_text_scrollbar
...
Fixed inserting text at caret not updating scrollbar size
2019-10-11 08:24:13 +02:00
Marcel Admiraal
a8836ba28d
Remove dependency on the editor directory being in the build's include path.
...
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Rémi Verschelde
f46bf8e721
Merge pull request #32411 from YeldhamDev/fix_grid_overflow
...
Fix GridContainer's children overflowing it when not all slots of a row are occupied
2019-10-08 17:05:32 +02:00
Rémi Verschelde
45577e4233
Merge pull request #32571 from DavidSichma/rect_flip
...
Correctly flip texture src region
2019-10-08 16:15:45 +02:00
Rémi Verschelde
58dd5d0c78
PopupMenu: Fix missing text/xl_text when using add_shortcut
...
Use macros to ensure that `text`, `xl_text` and `id` are always set
using the same logic.
Fixes #25519 .
Also fixes up #26914 when `p_id == -1` handling was only added for a
couple methods instead of all of them.
2019-10-08 09:33:26 +02:00
Rémi Verschelde
63a19df5e6
PopupMenu: Reorder add_* methods in more natural order
...
Also adds `add_icon_radio_check_shortcut` matching `add_icon_radio_check_item`,
binds them for scripting languages, and binds `add_multistate_item`.
2019-10-08 09:32:01 +02:00
Paulb23
e5b18cea63
Fixed inserting text at caret not updating scrollbar size
2019-10-07 19:17:32 +01:00
Paulb23
6025a76c78
Fixed drawing the caret at eol when at eol is not visible
2019-10-07 17:24:58 +01:00
Rémi Verschelde
f84bf7e8a8
Merge pull request #32351 from nekomatata/texture-rect-size-update
...
Update TextureRect when its Texture is modified directly
2019-10-07 08:57:17 +02:00
dankan1890
b469ff17e2
Added missing bind_method to TreeItem::get_custom_color().
...
Fix #32595
2019-10-06 22:07:50 +02:00
Rémi Verschelde
c8f6661459
Merge pull request #32569 from qarmin/fix_control_crash
...
Fix crash in Control functions
2019-10-06 20:50:18 +02:00