634bdfbb69
Ported: Changed line_edited_from(from) to lines_edit_from(from, to)
...
- Paulb23
907f9f2a84
2023-02-21 12:37:52 +01:00
c356806ebf
Ported: Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
...
- Extacted all syntax highlighting code from text edit
- Removed enable syntax highlighting from text edit
- Added line_edited_from signal to text_edit
- Renamed get/set_syntax_highlighting to get/set_syntax_highlighter
- Added EditorSyntaxHighligher
- Paulb23
bc4cee4458
2023-02-21 01:30:59 +01:00
0edf8fe956
Ported: Convert syntax highlighters into a resource
...
- Paulb23
2f1080be9b
2023-02-20 14:51:10 +01:00
Jóhannes Gunnar Þorsteinsson
d19c1fedfb
Add independent spinbox arrow step precision
...
Backported from the `master` branch, with a property hint added.
2023-02-07 02:51:05 +01:00
3bd027f068
Ported: Add dumb theme item cache to Control
...
- YuriSizov, jordo
1647f4d85e
2023-02-07 02:11:52 +01:00
19baf2133a
Ported: PopupMenu rework and enhancements
...
Many scrolling behaviour improvements and the ability to limit popup size.
- EricEzaM, rsubtil
6a5992c9f1
2023-02-07 01:59:27 +01:00
OsakiTsukiko
536884aa68
Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
2023-01-16 13:54:31 +01:00
Haoyu Qiu
71c28de437
Fix Tree overflow without scrolling being enabled
2023-01-16 13:53:12 +01:00
2cd4e4d828
Renamed Set to RBSet.
2023-01-15 19:42:08 +01:00
1b0aac6028
Renamed Map to RBMap.
2023-01-15 19:12:50 +01:00
b8009c85f4
Ported: Add vector value linking - KoBeWi and timothyqiu
...
9499ebecee
2022-12-22 18:50:17 +01:00
Paweł Fertyk
845b70faad
Fix get_visible_line_count in RichTextLabel with newlines
...
Fixed #59359 .
2022-12-22 14:36:03 +01:00
Zak
b5c01b8703
Add uri
property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b08864b5e5ccf0df910190b064ff7463)
2022-12-22 14:23:04 +01:00
Haoyu Qiu
e75af6af1d
Fix crash after executing ItemList.set_icon_scale
...
(cherry picked from commit 8d0fa193c344be8e1ec801b1a45341801b80a5f8)
2022-12-22 13:53:53 +01:00
Hugo Locurcio
b1c99f29e3
Fix infinite loop when calling Control.popup_centered_minsize()
...
Co-authored-by: sriramun <sriramun2@gmail.com>
(cherry picked from commit 08e804b3b718862e92e6b296b914e3829e43717e)
2022-12-22 13:51:14 +01:00
Dawid Marzec
289b16fa7b
Fix errors while deselecting all tree items; issue #65185
...
(cherry picked from commit d4d5df2314208a99c589456a75299a334672acd2)
2022-12-22 13:44:05 +01:00
Phnix
6040a9b37c
incorrect range value with min value and step
...
If the minimum value and the steps are greater than 0, the value will not be calculated correctly.
Co-Authored-By: Astral-Sheep <109028693+Astral-Sheep@users.noreply.github.com>
(cherry picked from commit fe1f8443a411c64eb8a2934512ab982f3df3d550)
2022-12-12 12:13:15 +01:00
Haoyu Qiu
0a11c9e1bf
Fix TreeItem.remove_child not updating Tree immediately
2022-12-11 19:13:20 +01:00
Dawid Marzec
03ae12b069
Remove auto selecting the first file for FileDialog with Save file mode selected
...
(cherry picked from commit 5cd30be56d1d34d84bd423fb99f8fa03edbfe75e)
2022-12-11 19:04:39 +01:00
Micky
a0c1c54db1
Fix ColorPicker always emitting color_changed on html submit
...
The color change was always emitted when the the modal was closed, even if it was exactly the same as before.
(cherry picked from commit 544727ac1ea7616c9f44116360d038cfcda5f763)
2022-11-30 19:10:54 +01:00
4b3c8aed30
Now ColorSelectorButton can work both in toggle mode, and in normal mode.
2022-11-17 23:04:16 +01:00
f72fa755e0
Added a new ColorSelectorButton. Same idea as the ColorPickerButton, except left clicking it emits a pressed signal, right clicking it opens a color picker.
2022-11-17 17:42:07 +01:00
arkology
76909c0d83
AtlasTexture in radial modes of TextureProgress
2022-11-13 00:52:54 +01:00
kobewi
335b7e6cde
Hide text of RichTextLabel if BBCode is enabled
2022-11-13 00:24:35 +01:00
Waridley
16285d52a6
Support multiline strings in buttons
2022-10-08 17:06:51 +02:00
Abhinav Chennubhotla
cbdc659738
Fix code folding icon color not matching defined color
...
Cherrypick of #58457 in master
Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.
- Create new icons for use specifically in the code editor
- Add these icons to the exceptions when converting dark theme icons
to light theme automatically
- Change the default value of the code folding color to match previous
color
- Code folding icon is now pure white by default to correctly match
the color defined in settings
2022-09-16 23:38:34 +02:00
lawnjelly
2b70218bd1
Fix uninitialized data reads in Input
...
Found by Valgrind.
2022-09-16 23:35:56 +02:00
lawnjelly
264627d11b
FlowContainer fix uninitialized data
...
This uninitialized data was finding its way into the renderer.
2022-09-16 23:31:58 +02:00
Maxim Kulkin
4237a6501f
Add GraphNode 'selected' and 'unselected' signals, simplify GraphEdit
...
Backport of the fix from master to 3.x
2022-09-16 23:29:52 +02:00
kobewi
8474965b10
Hide prefix/suffix on SpinBox focus
2022-09-16 22:33:27 +02:00
Michael Alexsander
bce30062a5
Fix some corner cases in the Menu/OptionButton
item auto-highlight
2022-09-16 22:04:23 +02:00
Michael Alexsander
7fd1e3b8ac
Fix crash when pressing up on an empty PopupMenu
2022-09-16 22:01:53 +02:00
Michael Alexsander
db8e21638a
Fix ItemList
selection visual when the scrollbar visibility changes
...
(cherry picked from commit e298144a41338d80b5f0090ce8f28aef888c13dd)
2022-09-16 21:18:10 +02:00
Michael Alexsander
62fdf73348
Expose set/get_tab_button_icon()
to scripting
2022-09-16 19:39:10 +02:00
Michael Alexsander
a557f22f1d
Make Menu/OptionButton
item auto-highlight behave better
2022-09-16 13:16:42 +02:00
e2d42db711
Also renamed the files.
2022-08-19 21:24:36 +02:00
cffe742085
Renamed the VisualServer to RenderringServer like in Godot4, as I think it's a lot better name for it. I did not yet rename the files.
2022-08-19 20:50:20 +02:00
58da70524b
Ported: Add support for multiple virtual keyboard types - brianwinterpixel
...
ce24b48e50
2022-08-19 16:18:53 +02:00
685f3cb495
Ported: remove redundant check preventing checkbox theme style to apply hover_pressed. - Piralein
...
36ff8962cc
2022-08-19 02:17:05 +02:00
4c4e19223e
Added _theme_ infix to the theme helper methods in Control.
2022-08-17 20:57:16 +02:00
99e94b08c4
Moved base input related classes to core/input.
2022-08-17 17:02:24 +02:00
686663d3e4
Moved around more classes in core.
2022-08-17 16:01:01 +02:00
04feb63860
Moved Engine and projectSettings.
2022-08-17 15:35:28 +02:00
220b2db443
Moved String and related classes under a string folder in core.
2022-08-17 14:19:55 +02:00
dc9cc716c7
Moved Object related classes under core/object.
2022-08-17 13:45:14 +02:00
e71e3ed897
Now Vector4, Vector4i, Projection, PoolVector4Array, PoolVector4iArray, are built in variant types. Also reordered the Variant's Type enum, renamed _RID in it to RID, fixed a few smaller issues and removed some very old compat code.
2022-08-16 21:55:56 +02:00
87149557b2
Fix sign comparison warning.
2022-08-15 23:12:44 +02:00
220954cf08
Backported most of the improvements to String from Godot4.
2022-08-15 22:54:03 +02:00
Yuri Sizov
eed219ada1
Fix theme propagation for children of top level controls
2022-08-07 15:34:47 +02:00
249dd4d661
Updated property hints for variant arrays.
2022-07-30 21:58:40 +02:00