bruvzg
e071fb2263
[TextServer] Use dedicated flag for object replacement characters.
...
(cherry picked from commit d904516e55
)
2023-04-24 16:28:28 +02:00
Haoyu Qiu
df80e2ae43
Tree: Fix offset calculation when there are hidden items
...
(cherry picked from commit a083c85521
)
2023-04-24 16:28:27 +02:00
Hugo Locurcio
8a349e4fa9
Allow entering named colors in ColorPicker's hex field
...
This also makes the hex field wider to allow displaying 9-character
hex code (`#rrggbbaa`) in full, even when using a custom font.
(cherry picked from commit 517dc3654a
)
2023-04-24 16:28:26 +02:00
Koyper
7e482f420d
Fixed RichTextLabel wrong selection offset in padded table cell.
...
(cherry picked from commit 6f11cf7d31
)
2023-04-24 16:28:24 +02:00
Juan Linietsky
4616de0c5d
Fix CI build error
...
Fixes potential use of uninitialized variable.
(cherry picked from commit 37362202a4
)
2023-04-24 14:04:18 +02:00
Fredia Huya-Kouadio
589c32ec55
Fix the issue preventing dragging in the 2D and visual shader editor
...
(cherry picked from commit 2c7633dce5
)
2023-04-07 17:44:39 +02:00
Johan Aires Rastén
585f4ed737
GraphNode ignore non-visible children for minimum size.
...
(cherry picked from commit 9a60c4affb
)
2023-04-07 17:44:38 +02:00
Hendrik Brucker
e656a53ed0
Fix several GraphEdit operations at zoom levels other than 100%
...
(cherry picked from commit 49587fd6d9
)
2023-04-07 17:44:37 +02:00
kleonc
7ef4e519f7
TextureProgressBar Update upon texture changes
...
(cherry picked from commit cdc63214fe
)
2023-04-07 17:44:37 +02:00
bruvzg
0c24ee363f
[TextEdit] Fix block caret size at the end of the line.
...
(cherry picked from commit efe04af446
)
2023-04-03 18:39:01 +02:00
Haoyu Qiu
2ea8dd7232
More i18n improvements
...
* Make placeholder in editor layout dialog translatable.
* Make messages in scene import settings dialog translatable.
* Mark theme override property categories for translation.
(cherry picked from commit 5a5fd33e42
)
2023-03-27 18:02:14 +02:00
kobewi
94e90b0593
Fix get_drag_data not overridable in some Controls
...
(cherry picked from commit 36141dc469
)
2023-03-27 17:37:13 +02:00
Nong Van Tinh
e1de9f9fc4
Fixes gutter set width results in receiving only half of the desired size
...
(cherry picked from commit bb3d0fc6b7
)
2023-03-27 17:16:25 +02:00
bruvzg
de08766656
Fix IME position in the single window mode sub-windows.
...
(cherry picked from commit 3ca3ee36ab
)
2023-03-27 17:12:30 +02:00
Michael Alexsander
bf8ab62ca3
Fix `GraphNode` resizing when its bottom border is too thin
...
(cherry picked from commit c567a853db
)
2023-03-27 16:45:22 +02:00
bruvzg
db3fadc560
Improve layout direction/locale automatic selection.
...
(cherry picked from commit 82d7923c65
)
2023-03-27 16:36:53 +02:00
Markus Sauermann
3cae980c17
Fix some ways to create inconsistent Viewport sizes
...
In the editor, it was possible to set the size of a `SubViewport` even
in cases where a parent `SubViewportContainer` had stretch enabled.
This PR disables editing a `SubViewport.size` while the parent disallows
it and it makes necessary adjustments during `NOTIFICATION_ENTER_TREE`.
(cherry picked from commit 34a7fc7447
)
2023-03-27 16:34:05 +02:00
Paweł
ca0ba83f03
Fix scrolling behaviour with low page value
...
(cherry picked from commit 1608bea188
)
2023-03-27 16:28:29 +02:00
justchen1369
59a78ecf5a
Fix exported type for Menubar start_index
...
(cherry picked from commit dbfecdb3b0
)
2023-03-14 13:59:04 +01:00
Rémi Verschelde
7e74568709
FBX: Disable importer when canceling FBX2glTF setup
...
Pretty hacky solution but it's better than an infinite loop.
All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.
Also fix underline not visible at default editor scale in LinkButton.
Fixes #73319 .
(cherry picked from commit d81e6ee024
)
2023-03-14 13:59:02 +01:00
bruvzg
34c909b41e
[TextEdit] Do not draw virtual spaces (word break / justification points).
...
(cherry picked from commit 25bc62ad13
)
2023-03-13 22:09:27 +01:00
Arman Elgudzhyan
7e6bc72f7c
Don't autocomplete numbers in GDScript
...
Cancel code autocompletion when a numerical value is entered. Avoids interference when setting numbers.
(cherry picked from commit 688d00b706
)
2023-03-13 21:35:23 +01:00
Paweł Fertyk
41f4068a6e
Fix RichTextLabel crash with out of bound exception
...
Fixes #68242 .
(cherry picked from commit 44592c8c19
)
2023-03-13 14:13:36 +01:00
bruvzg
315164c619
[TextEdit / IME] Check selection before deleting to avoid unnecessary error messages.
2023-02-27 08:58:28 +02:00
bruvzg
cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 21:17:05 +02:00
Rémi Verschelde
76d4d09bfa
Revert Label text reshaping fix #71553 and subsequent regression fixes
...
Despite a lot of great work from Pedro to try to improve the Label text
reshaping logic and fix subsequent regressions, we found ourselves still
chasing more edge cases, such as #73736 (which got reverted already due
to it causing yet another regression).
In parallel, it seems like the crash scenario that #71553 was addressing
got solved differently in the master branch, so it appears like this
change is no longer necessary at all (at least not urgently), so we
decided to revert to the previous known "ok" state of Label.
- Revert #71553 "Prevent infinite cascade of re-layout after label text reshaping"
This reverts commit ed8c5cd52f
.
- Revert #72387 "Enhance label sizing algorithm"
This reverts commit 5131b81a4d
.
- Revert #73234 "Fix blank non-autowrapping labels"
This reverts commit 3ccabee9ae
.
- Revert #73343 "Make label sizing algorithm more robust"
This reverts commit 4f7f1ef60b
.
- Revert #73426 "Fix width determination of non-trimmed, non-wrapped labels"
This reverts commit 73b6c0b972
.
2023-02-23 10:36:42 +01:00
Rémi Verschelde
d66f6b3b04
Revert "Fix visible_lines calculation"
...
This reverts commit ceee405cec
.
This caused regressions, see #73736 and #73780 .
Fixes #73780 .
2023-02-22 22:44:55 +01:00
Rémi Verschelde
d8014e9fab
Merge pull request #73736 from helviett/fix_visible_lines_calculation
...
Fix visible_lines calculation
2023-02-22 14:50:06 +01:00
helviett
ceee405cec
Fix visible_lines calculation
2023-02-22 14:17:52 +04:00
Rémi Verschelde
be336cea1e
Merge pull request #73587 from YuriSizov/rtl-the-underliner
...
Ensure minimal thickness for `RichTextLabel` underlines
2023-02-22 10:14:32 +01:00
Rémi Verschelde
69b99730e0
Merge pull request #73597 from MewPurPur/add-missing-queue-redraw--oh-wait-that-barely-narrows-it-down
...
Fix Indent/Unindent without a selection not causing a redraw
2023-02-20 11:28:18 +01:00
VolTer
9de731a9ec
Fix Indent/Unindent without a selection not causing a redraw
2023-02-19 21:08:04 +01:00
Yuri Sizov
28b7556914
Ensure minimal thickness for RichTextLabel underlines
2023-02-19 13:42:25 +01:00
Paulb23
60161cbe7d
Fix ctrl+backspace crash with multicarets on the same line
2023-02-19 12:04:14 +00:00
Yuri Sizov
236cec0633
Add a custom icon for the `project.godot` file in the EditorFileDialog
2023-02-17 22:42:23 +01:00
Yuri Sizov
6bb4b00647
Merge pull request #73508 from nongvantinh/reorder-emitted-signals
...
Reordering emitted signals in PopupMenu
2023-02-17 21:17:01 +03:00
Nong Van Tinh
5928d801a9
Reordering emitted signals in PopupMenu
2023-02-17 23:18:56 +07:00
Rémi Verschelde
a0afeb5d5a
Merge pull request #72184 from Maran23/item-list-index-out-of-bounds
...
ItemList: Check if the index is out bounds before accessing the internal items
2023-02-17 16:20:49 +01:00
Rémi Verschelde
9004279afb
Merge pull request #70781 from jamesmintram/jamesm/bugfix/fix-minimap-oob
...
Fix error spam when hovering minimap in the script editor
2023-02-17 15:20:19 +01:00
bruvzg
7246b229e1
Set RTL minimal dash size to 2.0, add invalid dash size error to the `draw_dashed_line`.
2023-02-17 08:53:08 +02:00
Rémi Verschelde
2824774d29
Merge pull request #69801 from nongvantinh/fix-invalid-scene-name
...
Fixed scene name can be saved as extension only
2023-02-17 00:35:00 +01:00
Rémi Verschelde
b90d70d592
Merge pull request #72764 from Sauermann/fix-color-picking
...
Fix Color Picking
2023-02-17 00:33:20 +01:00
Nong Van Tinh
010ddfbc16
Prevent saving files with no name and only an extension.
...
Fixes #69768 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-02-17 00:23:15 +01:00
James Mintram
aa024296d1
Fix error spam when hovering minimap in the script editor
2023-02-16 22:03:01 +01:00
Rémi Verschelde
25da47edd6
Merge pull request #73396 from KoBeWi/sorry
...
Fix crash with AspectRatioContainer and TextureRect
2023-02-16 18:34:41 +01:00
kobewi
a12921ca2c
Fix crash with AspectRatioContainer and TextureRect
2023-02-16 14:35:09 +01:00
Pedro J. Estébanez
73b6c0b972
Fix width determination of non-trimmed, non-wrapped labels
...
In other words, exclude trimmable labels from the special logic used for non-wrapping ones, since they are not expected to dictate their width authoritatively.
2023-02-16 11:54:57 +01:00
Rémi Verschelde
2874961309
Merge pull request #73343 from RandomShaper/labels_are_evil
...
Make label sizing algorithm more robust
2023-02-15 22:34:21 +01:00
Pedro J. Estébanez
4f7f1ef60b
Make label sizing algorithm more robust
2023-02-15 18:00:29 +01:00
Yuri Sizov
f2aae8fa5c
Merge pull request #73349 from dalexeev/fix-tab-bar-redraw
...
Fix `TabBar` not redrawing on locale change
2023-02-15 18:23:25 +03:00