Rémi Verschelde
e61c4dd787
Merge pull request #60282 from YeldhamDev/backwards_relationships_are_even_harder
2022-05-02 09:49:09 +02:00
bruvzg
ff381f6e84
Fixed implementation of RTL remove_line()
...
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-04-29 10:59:31 +03:00
Rémi Verschelde
510ed791f9
Merge pull request #60554 from timothyqiu/editor-settings-cleanup
2022-04-27 11:51:03 +02:00
Rémi Verschelde
3b2ed9bdd6
Merge pull request #60330 from Calinou/aspectratiocontainer-add-property-hint-3.x
2022-04-27 10:17:04 +02:00
Haoyu Qiu
d088128b43
Remove duplicate editor settings definitions
2022-04-27 15:26:46 +08:00
Haoyu Qiu
d43b4039db
Fix Label autowrap for CJK text
2022-04-18 21:54:46 +08:00
Hugo Locurcio
90044d6ac9
Add a property hint for AspectRatioContainer's ratio
property
...
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.
The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-04-17 22:04:39 +02:00
Michael Alexsander
b6c501f9b0
Draw relationship lines for items offscreen
2022-04-15 16:31:15 -03:00
Michael Alexsander
21bdadbf79
Fix GridContainer
not ignoring toplevel children
...
(cherry picked from commit 506d8ba526
)
2022-04-14 21:36:07 +02:00
Rémi Verschelde
8182a754d2
Merge pull request #59827 from ConteZero/fix_right_menu
2022-04-14 21:29:57 +02:00
Rémi Verschelde
4e4f6311b6
Merge pull request #60233 from ZheisterCoding/leading-space-fix-3.x
...
Fixed leading spaces pushing text outside Label autowrap boundary problem
2022-04-14 12:15:33 +02:00
DESKTOP-893BK8A\howar
c0513268bd
Fixed #59985 leading spaces autowrap boundary problem
...
Bug problem:
No condition for when the first character of the label is a space character
Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0
2022-04-14 16:05:35 +07:00
Haoyu Qiu
19a0145742
Fix undo history for function name autocompletion
2022-04-14 14:37:31 +08:00
Eric McGuirk
f82cd740cf
Fix toggling GraphEdit's minimap with minimap_enabled
...
Fixes #53831 .
(cherry picked from commit b1441bbcfc
)
2022-04-13 11:43:49 +02:00
kobewi
bf6e7dc6f6
Fix GraphEdit's valid connections being reversed
...
(cherry picked from commit b29aff8dac
)
2022-04-13 11:43:49 +02:00
Haoyu Qiu
1d476d7737
Consider chained operation when selecting text in TextEdit::undo()
...
(cherry picked from commit 8cefbfcf43
)
2022-04-13 11:43:49 +02:00
Yuri Roubinsky
e54a4646c7
Add selection getter methods to LineEdit
...
Co-authored-by: Yuri Roubinsky <chaosus89@gmail.com>
2022-04-12 14:31:51 +02:00
ConteZero
820728aa52
[3.x] Expose get_selected_text in RichTextLabel
2022-04-05 22:38:10 +02:00
Rémi Verschelde
20b08185f3
Merge pull request #59894 from ConteZero/richtextlabel_deselect_3.x
2022-04-05 00:01:27 +02:00
ConteZero
5e714051ea
[3.x] Add deselect() to RichTextLabel
2022-04-04 22:46:13 +02:00
Markus Sauermann
9a9f86ec12
Fix event transform in ViewportContainer
2022-04-04 22:34:49 +02:00
Rémi Verschelde
21c3048397
Add missing argument names in bindings
2022-04-04 12:56:59 +02:00
Haoyu Qiu
1136a9b58a
Add missing CheckBox & CheckButton editor icons
...
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-04 12:15:46 +08:00
ConteZero
57b616fb21
Fix Right-Click clearing selection
2022-04-03 10:18:12 +02:00
Haoyu Qiu
f9da6f6978
Extract theme property names for localization
2022-04-01 11:35:02 +08:00
Haoyu Qiu
d537a88299
Add item tooltip access to OptionButton
...
(cherry picked from commit a635ecf6d4
)
2022-03-17 14:45:19 +01:00
taigi100
b33eed23ae
Fix children visibility check
...
(cherry picked from commit 280956ddc3
)
2022-03-17 14:45:19 +01:00
Haoyu Qiu
72837b8ecd
Fix RichTextLabel underlining does not respect visible character
2022-03-16 17:54:07 +08:00
Haoyu Qiu
c0bd05762e
Revert "Fixed underlines and striketrough not respecting visible character"
...
This reverts commit 8bbcc624fd
.
2022-03-16 17:40:14 +08:00
Haoyu Qiu
fd968157a4
Revert "Fixed 0 width issue of rich text label"
...
This reverts commit a1155b86e4
.
2022-03-16 17:40:09 +08:00
ConteZero
2ff0735329
Added primary clipboard for Linux
2022-03-14 15:28:36 +01:00
ConteZero
0ffacff998
[3.x] Add option to make selection unique
2022-03-14 09:48:09 +01:00
Rémi Verschelde
08c3e00b95
Merge pull request #55355 from ConteZero/drag_and_drop_3.x
2022-03-14 08:43:22 +01:00
ConteZero
4167e98088
Add drag and drop to TextEdit, LineEdit, RichTextLabel
2022-03-14 08:15:25 +01:00
Hugo Locurcio
caf2c20655
Don't store and show current file/directory/path FileDialog properties
...
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.
(cherry picked from commit 2ad6e11b78
)
2022-03-13 15:46:01 +01:00
Haoyu Qiu
7d219b6793
Fix RichTextLabel shadow color when text has transparency
2022-03-12 11:02:27 +08:00
miremrie
8a6b066ab7
Allow absolute file paths in file dialogs
...
(cherry picked from commit a5e30c0228
)
2022-03-10 17:18:41 +01:00
Haoyu Qiu
db9d426798
Remove extra separator when TextEdit is read only and unselectable
...
(cherry picked from commit 933211cb0c
)
2022-03-10 16:19:30 +01:00
Wilson E. Alvarez
c37be0f31b
Expose TextEdit get_visible_rows() and get_total_visible_rows() to GDScript
2022-03-08 22:32:22 -05:00
janglee
a1155b86e4
Fixed 0 width issue of rich text label
...
Fixes #37746
(cherry picked from commit 5e64c146bc
)
2022-03-02 11:00:26 +01:00
janglee
8bbcc624fd
Fixed underlines and striketrough not respecting visible character
...
(cherry picked from commit 9c2c2ab2b0
)
2022-03-02 11:00:26 +01:00
Yuri Sizov
df13466139
Add type variations to Theme
2022-02-17 15:24:10 +03:00
Haoyu Qiu
8231303dec
Backport FlowContainer
2022-02-11 14:48:40 +08:00
Rémi Verschelde
0c7c640112
Merge pull request #57643 from YeldhamDev/smarter_pm_focus_port
2022-02-10 16:52:08 +01:00
Haoyu Qiu
a3f6033513
Improve TreeItem button API
2022-02-08 23:56:19 +08:00
Raul Santos
1d3de163dc
Add alignment options to icons on buttons.
...
They can now be centered and right-aligned.
Co-authored-by: jitspoe <jitspoe@yahoo.com>
2022-02-07 21:29:37 +01:00
Rémi Verschelde
689f59dca0
Merge pull request #53463 from lawnjelly/vital_redraws
...
Add editor vital redraws only option
2022-02-04 21:42:49 +01:00
Michael Alexsander
f63bea9ef2
Make popup menus focus items automatically when not using the mouse
2022-02-04 17:20:26 -03:00
kobewi
621cf7d8d5
Update the minimum size of ViewportContainer
2022-02-02 13:21:03 +01:00
lawnjelly
a0c6d16c90
Add editor vital redraws only option
...
When editor continuous redraws is switched off, the editor only redraws when a redraw_request was issued by an element in the scene. This works well in most situations, but when scenes have dynamic content they will continuously issue redraw_requests.
This can be fine on high power desktops but can be an annoyance on lower power machines.
This PR splits redraw requests into high and low priority requests, defaulting to high priority. Requests due to e.g. shaders using TIME are assigned low priority.
An extra editor setting is used to record the user preference and an extra option is added to the editor spinner menu, to allow the user to select between 3 modes:
* Continuous
* Update all changes
* Update vital changes
2022-02-02 11:26:45 +00:00