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
kleonc
32d83053c4
TextureButton Fix logic for drawing only the focus texture
...
(cherry picked from commit 078b8c25ce
)
2022-01-31 22:54:25 +01:00
mashumafi
a118837af4
Fix button icon_color_disabled alpha channel
2022-01-30 13:15:05 -05:00
bruvzg
f8f83f05f2
Fix RichTextLabel uninitialized content height value.
2022-01-20 13:53:52 +02:00
Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Hendrik Brucker
365486543d
Improve Colorpicker presets
2022-01-17 15:21:47 +01:00
Haoyu Qiu
64fcf7ee77
Fix LineEdit center and right alignment
2022-01-16 20:39:11 +08:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Yuri Sizov
58319564fa
Unify theme item lookup in Controls and respect default font
2022-01-13 15:21:55 +03:00
Danil Alexeev
458f65171c
Add BBCode escape sequences
...
(cherry picked from commit 884f1acff8
)
2022-01-12 17:40:15 +01:00
kobewi
9f7f7377dd
Set max value of inactive TextEdit scrolls to 0
...
(cherry picked from commit 892d93759c
)
2022-01-12 17:36:41 +01:00
kobewi
8edc8a95b1
Improve FileDialog filters
...
(cherry picked from commit b403954e41
)
2022-01-12 17:33:16 +01:00
LeaoLuciano
57cceb47d1
Fix memory leak in RichTextLabel.remove_line
...
(cherry picked from commit f21b5e4d2f
)
2022-01-12 17:32:19 +01:00
Haoyu Qiu
4621b41bfc
Add drag start/end signals for Slider
...
(cherry picked from commit 753ae7403f
)
2022-01-12 17:31:39 +01:00
kobewi
99195cc163
Fix TextureButton focus texture logic
...
(cherry picked from commit 11111d997e
)
2022-01-12 17:28:07 +01:00
Rémi Verschelde
aa6dde2cde
Merge pull request #56471 from jmb462/3.x
2022-01-12 16:46:44 +01:00
Rémi Verschelde
e805ec8574
Merge pull request #54871 from timothyqiu/remove-theme-override
...
[3.x] Add methods to remove theme overrides
2022-01-11 20:16:05 +01:00
Haoyu Qiu
09397f10c5
Fix BBCode underline prevents strikethrough from rendering
2022-01-11 12:53:51 +08:00
Bartłomiej T. Listwon
22750b1c03
Replace String::find_last with rfind where possible (backward compatible with old API)
2022-01-08 22:40:44 +01:00
Rémi Verschelde
89574a8258
Merge pull request #54296 from timothyqiu/rtl-fill-underline
...
[3.x] Fix `RichTextLabel` underline appearance when inside fill tag
2022-01-07 09:20:44 +01:00
Rémi Verschelde
b197de6f5f
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2022-01-07 00:14:54 +01:00
Yuri Sizov
2f333d6059
Fix an incorrect exposed property type in Tree
...
(cherry picked from commit f1bc5c976a
)
2022-01-06 00:36:12 +01:00
PucklaMotzer09
05eb33e701
Unfocus Control on NOTIFICATION_EXIT_TREE
...
(cherry picked from commit be2d59fa0a
)
2022-01-06 00:29:21 +01:00
kobewi
347823c275
Fix TabContainer not setting layout immediately
...
(cherry picked from commit a7a41a3431
)
2022-01-06 00:21:36 +01:00
jmb462
4de860c6d5
Fix PopupMenu bad item offset with custom vseparation
2022-01-03 22:15:59 +01:00
Christoph Nelles
72133365f4
Tree: Fix de-select when selection mode set to SELECT_ROW
...
It no longer de-selects an already selected row if the SELECT_MODE is
set to SELECT_ROW. Fixes #36047
Update scene/gui/tree.cpp
Co-authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-01-02 00:31:46 +00:00
Zae
23aaf78391
[3.x]Fix BaseButton's localization for tooltip text with shortcut
2021-12-21 03:44:16 +08:00
kobewi
9776241ce6
Bind column_titles_visible as property
...
(cherry picked from commit 7f6ab0006d
)
2021-12-06 16:52:00 +01:00
Rémi Verschelde
5e9853b038
Merge pull request #55453 from ator-dev/block-hidden-tab-close-3.x
...
Prevent hidden tab close buttons from intercepting input [3.x]
2021-11-30 00:15:55 +01:00
ator-dev
a8977006fd
Prevent hidden tab close buttons from intercepting input [3.x]
2021-11-29 20:26:19 +00:00
Red Headphone
aa95a4a436
progress_offset now added to reference cross draw function
...
(cherry picked from commit 8a6c6d5329
)
2021-11-29 16:43:25 +01:00
floppyhammer
689312267a
Fix nine patch of circular TextureProgressBar
...
(cherry picked from commit f9b1ce0922
)
2021-11-29 16:11:21 +01:00
Rémi Verschelde
df38da84b4
Merge pull request #55440 from bruvzg/fix_cell_width
2021-11-29 15:04:22 +01:00
Rémi Verschelde
eb5c2e1067
Merge pull request #55439 from KoBeWi/random_programming_ftw
2021-11-29 14:55:45 +01:00
bruvzg
33b26e5cdc
Fix RTL min/max line width calculation.
2021-11-29 15:36:42 +02:00
kobewi
820f7c9d15
Fix right alignment in RichTextLabel
2021-11-29 14:33:12 +01:00
Yuri Sizov
ba747e2a26
Add methods to get position from column and line in TextEdit
2021-11-29 00:06:16 +03:00
Haoyu Qiu
eb6f74855f
Allow toggle TextEdit bookmark gutter
2021-11-21 21:34:30 +08:00
Marcel Admiraal
4d3690eba5
Remove unimplemented methods
2021-11-18 12:47:36 +00:00
Anton Christoffersson
62db47a7fb
Fixed crash in `ScrollContainer` _notification
...
(cherry picked from commit ee81979f90
)
2021-11-18 12:22:26 +01:00
Rémi Verschelde
86e0a0674a
Merge pull request #54330 from LennyPhoenix/lennyphoenix-patch-1
2021-11-15 23:36:12 +01:00
Lightning_A
086db0bf9f
Scrollwheel (w/o ctrl) to zoom, mouse warping when panning
...
Now uses Ctrl + Scrollwheel for vertical scrolling
Ctrl + Shift Scrollwheel for horizontal scrolling
Also converts some macros to constants
(cherry picked from commit 13ba788b63
)
2021-11-15 16:10:00 +01:00
Rémi Verschelde
6f4858f184
Modules: Make sure to include `modules_enabled.gen.h` where needed
...
Fixes #51677 .
Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
2021-11-12 13:45:33 +01:00
Haoyu Qiu
936832d59c
Add methods to remove theme overrides
2021-11-11 18:23:37 +08:00
Michael Alexsander
d5adb9e4b4
Fix uninteractable singular tab in `TabBar`
...
(cherry picked from commit 96fdb030ec
)
2021-10-31 23:10:47 +01:00
Rémi Verschelde
14ef65e49b
Merge pull request #54348 from akien-mga/3.x-clang-format-dont-align-operands
2021-10-28 15:43:15 +02:00
Rémi Verschelde
1b65550ec7
clang-format: Various fixes to comments alignment from `clang-format` 13
...
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28 14:50:32 +02:00
Rémi Verschelde
42d385b312
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 13:23:38 +02:00
Lenny Critchley
3d1249a520
Add error condition for Control EXIT_TREE notif
2021-10-28 00:26:57 +01:00
Haoyu Qiu
23c64fc43c
Fix RichTextLabel underline appearance when inside fill tag
2021-10-27 21:04:20 +08:00
Yuri Sizov
b3fc278dcf
Ignore property groups and categories in GDScript code completion
2021-10-26 20:01:49 +03:00
Yuri Sizov
7fe0dab69b
Add focus font color to Button and derivatives
2021-10-26 17:40:51 +03:00
Rémi Verschelde
8ff437822a
Control: Rename `Input` group that confuses GDScript completion
...
Fixes #47926 .
2021-10-25 22:07:20 +02:00
Anton Christoffersson
35eeafdb0c
Fixes crash in caused by calling `ColorPickerButton.propagate_notification(33)`
2021-10-25 08:47:44 +02:00
Rémi Verschelde
62f56af694
Merge pull request #54146 from akien-mga/3.x-cherrypicks
2021-10-23 18:34:23 +02:00
Rémi Verschelde
5a48cba649
Merge pull request #54152 from bjauny/fix_treenotification
2021-10-23 18:33:32 +02:00
Bastien JAUNY
e74db1de23
#54143 Fix potential null pointer dereference
2021-10-23 14:47:02 +02:00
Robin Arys
0dcf1e3a45
Fix Tabs crash where it still tries to detect the clicked tab even if there are none
...
(cherry picked from commit 2203670ccc
)
2021-10-23 11:53:58 +02:00
Haoyu Qiu
5366743454
Fix RichTextLabel meta link detection when used inside a fill tag
2021-10-22 16:20:56 +08:00
Haoyu Qiu
7e6e6c871b
Make RichTextLabel honor content margin when drawing font shadow
2021-10-21 11:30:45 +08:00
Haoyu Qiu
37ef6036d0
Add missing cache clear in RichTextLabel::_process_line
2021-10-20 23:46:57 +08:00
floppyhammer
0b5724514d
Fix bilinear TextureProgressBar with nine patch enabled
...
(cherry picked from commit a238816f0b
)
2021-10-15 12:51:42 +02:00
Michael Alexsander
eeb6652436
Fix invisible tabs not being ignored in `Tabs`
...
(cherry picked from commit 3c5103ac1d
)
2021-10-10 12:27:51 +02:00
Haoyu Qiu
52a840b9c9
Fix crash when tooltip_request_func object is freed
2021-10-06 15:33:31 +08:00
Michael Alexsander
a5214f437f
Fix `Tabs` offset overreaching when scrolling fast
...
(cherry picked from commit 0dd65fff3b
)
2021-10-05 10:53:06 +02:00
Yuri Sizov
98cf645258
Expose API to retrieve Theme's default font
2021-10-04 17:44:53 +03:00
Rémi Verschelde
2b642d68c1
Merge pull request #52752 from Pineapple/fix-richtextlabel-character-offsets
2021-10-04 08:52:26 +02:00
Haoyu Qiu
eab1e228c8
Fix LineEdit undo crash
...
Make sure all related member variables are initialized before creating
the first undo state.
2021-09-29 13:52:40 +08:00
Matthew Newall
e01d609c02
Updated Tabs to not update excessively
...
(cherry picked from commit 082f924566
)
2021-09-27 18:09:47 +02:00
Michael Alexsander
b4d6afb7ad
Expose `TabContainer`'s tab hidding for scripts
...
(cherry picked from commit 7ce02b642e
)
2021-09-27 18:06:36 +02:00
Yuri Sizov
020807dc0f
Correctly calculate position of the folding arrow in Tree
2021-09-25 02:01:35 +03:00
skysphr
f53294f874
Added increment_pressed and decrement_pressed icons to scrollbars
...
(cherry picked from commit e27ab2708f
)
2021-09-21 17:14:59 +02:00
kobewi
44a56c9742
Add offset for TextureProgress progress texture
...
(cherry picked from commit e78ee616f7
)
2021-09-21 17:14:59 +02:00
Rémi Verschelde
d92405de74
Merge pull request #52728 from jmb462/ninepatchrect_node_warning
2021-09-17 20:22:10 +02:00
jmb462
a9d0baa4f4
Add a node warning using NinePatchRect's Tile or Tile Fit modes in GLES2
2021-09-17 06:29:10 +02:00
Bartłomiej T. Listwon
903765f94d
Fix RichTextLabel character horizontal offset calculation
2021-09-16 21:44:17 +02:00
PouleyKetchoupp
ab55c33c20
Fix TextEdit cursor update when adding or deleting text
...
Updating the viewport while setting the line index before the column is
set could wrongly cause the text to be scrolled down.
2021-09-16 09:14:22 -07:00
Ed Swartz
c79898a7b8
Use left/right arrow to move cursor when unselecting in LineEdit
...
-- useful for rename dialog (the filename portion is selected by
default, and usually, want to change the end of the name, not the
beginning)
2021-09-14 20:26:10 -05:00
Yuri Roubinsky
b36b81cbdd
Better port handling connection for `GraphEdit`
...
(cherry picked from commit 61904d56ea
)
2021-09-14 13:41:27 +02:00
Haoyu Qiu
930a1ea746
Make RichTextLabel honour default cursor shape property
...
(cherry picked from commit d12cceadd2
)
2021-09-14 13:41:26 +02:00
Gilles Roudière
cf48297ea2
Merge pull request #52047 from nobuyukinyuu/bind-get-tab-idx-at-point
...
[3.x] Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-09-07 11:10:27 +02:00
Hugo Locurcio
85ebe8e3f6
Add visual feedback when hovering or dragging the code minimap grabber
...
This makes it more obvious that the minimap grabber can be dragged
to scroll.
2021-09-04 02:25:44 +02:00
kleonc
8004678d57
TabContainer Fix drawing current tab when it's disabled
2021-09-01 04:01:07 +02:00
nobuyuki_nyuu
522af5c614
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-08-29 09:11:41 -05:00
Max Hilbrunner
17e61fa0af
Merge pull request #52095 from kleonc/tree-item-drag-drop-drawing-3x
...
[3.x] Tree Fix line rendering when drag and dropping TreeItem
2021-08-27 20:55:58 +02:00
LeaoLuciano
9cecabb186
LinkButton's text now is automatically translated
2021-08-26 17:56:34 -03:00
kleonc
92ea0f7dd9
Tree Fix line rendering when drag and dropping TreeItem
2021-08-25 12:03:05 +02:00
Hugo Locurcio
43da1790c8
Remove deprecation warning for `BaseButton.enabled_focus_mode`
...
There were too many instances of false positives that are difficult
to fix. The note in the class reference has been clarified instead.
2021-08-22 21:47:53 +02:00
Anas Saifi
4874270592
Removed unused variable
2021-08-22 15:58:45 +05:30
Anas Saifi
9b06355488
Update scene/gui/rich_text_label.cpp
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-22 15:18:52 +05:30
anazr9
b8bf2ec3cd
fixed crash with RichTextLabel [fill] tag #51968 by using 3.3 as reference
2021-08-22 14:17:01 +05:30
Rémi Verschelde
a67eaa67b0
Merge pull request #51732 from codecat/fix-caret-selection-3.x
...
Move cursor to edge of selection when moving caret left/right
2021-08-18 20:12:19 +02:00
Melissa Geels
6bf6d18ee1
Move cursor to edge of selection when moving caret left/right
...
This is to mimic the behavior of many third party text editors.
The reasons it's not doing it when moving by word is due to that
behavior being mostly the same on other editors.
This was backported to 3.x from pull request #51502 .
2021-08-18 14:28:57 +02:00
Rémi Verschelde
1de8f31448
CI: Upgrade Emscripten to 2.0.25
...
That's the version used by current containers for Godot 3.4.
Fixes a couple stray warnings that new Emscripten/LLVM catches.
2021-08-18 11:13:34 +02:00
Haoyu Qiu
5f316aa216
Improve Undo/Redo menu items
...
* Make Undo/Redo menu items disabled when clicking it does nothing.
* Context menu of `TextEdit`
* Context menu of `LineEdit`
* Editor's Scene menu
* Script editor's Edit menu and context menu (for Script and Text)
* Make editor undo/redo log messages translatable.
* Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`.
* Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
2021-08-18 00:46:51 +08:00
Rémi Verschelde
7722eea613
Merge pull request #51252 from kleonc/tab_container-fix-disconnecting-errors-3x
...
[3.x] TabContainer: Fix error on removing top-level Control child, Remove _get_tab method
2021-08-16 10:35:45 +02:00
Melissa Geels
ac40f5bb75
Triple click in text editor now uses last mouse position for validity
...
Previously, you would be able to double click a word, followed by
single-clicking another word on the same line, which would select the
entire line. Now, it will only select the whole line if the mouse
position has remained the same after the double click. This mimicks the
behavior in most third party text editors.
Fixes #51312 .
(cherry picked from commit 408401a642
)
2021-08-12 16:43:22 +02:00
Paulb23
ea0456679a
Redraw on item list custom bg/fg colour change
...
(cherry picked from commit 738b0fdae5
)
2021-08-12 16:42:16 +02:00
Jason Knight
955f2ba75e
Removed the alteration of status.hovering during Focus Enter and Focus Exit events.
...
This is incorrect and not fully implemented, and results in inconsistency in the UI and in the hovering variable.
(cherry-picked from commit edcbe88389
)
2021-08-12 16:37:35 +02:00
Yuri Sizov
71ec6dba67
Improve Control's theme item methods documentation
2021-08-06 22:31:58 +03:00
kleonc
063d1a5d53
TabContainer: Fix error on removing top-level Control child, Remove _get_tab method
2021-08-04 22:10:06 +02:00
Yuri Sizov
e7bd53b690
Make theme item overrides more obvious in the Inspector
2021-08-04 17:02:00 +03:00
kleonc
8274d18244
TabContainer Fix moving dropped tab at incorrect child index
...
(cherry picked from commit a5a4532378
)
2021-08-03 10:20:18 +02:00
Haoyu Qiu
fb15adfad0
Fix crash when executing PopupMenu.new()._submenu_timeout()
2021-07-27 12:11:28 +08:00
Rémi Verschelde
86054e00bf
Merge pull request #50446 from AnilBK/graphnode-improv-3.x
...
[3.x]Add missing graphnode setters.
2021-07-22 16:41:20 +02:00
Tomasz Chabora
d966f00954
Calculate __focus_rect when TreeItem is focused
...
(cherry picked from commit 2035992a07
)
2021-07-20 13:05:14 +02:00
Yuri Sizov
e05eb8a6ad
Make zoom limits and step adjustable in GraphEdit
2021-07-16 22:43:28 +03:00
kobewi
557a1f6232
[3.x] Update Tree when modified
2021-07-15 18:19:29 +02:00
kobewi
dd62aa1bf9
[3.x] Fix valign with stylebox borders
2021-07-15 13:58:18 +02:00
kobewi
4941d2001c
Add set_pressed_no_signal method to BaseButton
...
(cherry picked from commit 50c63bdc4c
)
2021-07-15 10:52:22 +02:00
Rémi Verschelde
875045adde
Use modules_enabled.gen.h to improve inter dependency checks
...
- Fix build with gdscript module disabled. Fixes #31011 .
- Remove unused `gdscript` compile option.
- Fix build with regex module disabled.
- Fix ImageLoaderSVG to forward declare thirdparty structs.
(cherry picked from commit f3726ee994
)
2021-07-14 23:36:38 +02:00
Anilforextra
d9e48a9c58
Add missing graphnode setters.
...
Documentation Updates.
2021-07-14 15:37:59 +05:45
Rémi Verschelde
32f5bee985
LineEdit: Respect `max_length` by truncating text to append
...
When appending text (either via `set_text()` or by pasting from clipboard),
if the input would make the `LineEdit` exceed its configured `max_length`,
the input text is truncated to fit. The discard part is passed as a parameter
in the `text_change_rejected` signal.
Fixes #33321 .
Fixes #41278 .
Also cleaned up unimplemented `max_chars` property in `TextEdit`.
Co-authored-by: Tony-Goat <70238376+Tony-Goat@users.noreply.github.com>
(cherry picked from commit 9a1ce8e6c3
)
2021-07-13 10:20:02 +02:00
voxelv
e6f420aabf
Avoid using a nullptr root in Tree._range_click_timeout().
...
Fixes #46648
(cherry picked from commit f17f3f8830
)
2021-07-13 09:47:07 +02:00
Rémi Verschelde
7f971089fb
FileDialog: Fix capitalization for overwrite prompt
...
Sorry I can't take it anymore, I wince every time I see it.
Already fixed in master :)
2021-07-08 01:05:45 +02:00
Francois Belair
a4a2ab3ee0
Add cache to color picker for presets
...
This prevents loading from the project metadata more than once,
significantly saving performance with nodes that have color pickers.
2021-07-07 18:06:31 -04:00
kobewi
ff7cae4c4c
Allow to create a node at specific position
2021-07-07 13:19:59 +02:00
kleonc
23ad87cc92
Add AcceptDialog::remove_button method
2021-07-06 18:27:03 +02:00
Michael Alexsander
d453b59cba
Make invisible `SplitContainer` nodes correctly calculate the minimal size of its children
...
(cherry picked from commit e4d56e4c62
)
2021-07-06 11:10:46 +02:00
trollodel
814e25d2d8
Fix GraphNode port position when the control has the Expand flag
...
(cherry picked from commit 07c3b40aa2
)
2021-06-29 14:02:23 +02:00
floppyhammer
fa77e501f7
Improve nine patch behavior of TextureProgressBar
...
(cherry picked from commit b08dc1ea35
)
2021-06-29 12:59:23 +02:00
Yuri Sizov
b91e3237c6
Make relationship lines draw on top of TreeItems
2021-06-21 16:54:59 +03:00
Rémi Verschelde
03f275e66f
Merge pull request #49167 from amoriqbal/3.3-inspector-patch
...
Fixed inspector not updating anchor
2021-06-20 12:42:21 +02:00
Marcel Admiraal
7e03bd1671
Remove duplicate WARN_PRINTS macro
2021-06-18 12:57:59 +01:00