summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2023-04-03[TextEdit] Fix block caret size at the end of the line.bruvzg
(cherry picked from commit efe04af446cd042c6505722ef2608aa03dc63435)
2023-03-27More i18n improvementsHaoyu Qiu
* 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 5a5fd33e42239cb59aa34899675ca4e2a2c99106)
2023-03-27Fix get_drag_data not overridable in some Controlskobewi
(cherry picked from commit 36141dc469baaf027e753718598b32c15fe7c541)
2023-03-27Fixes  gutter set width results in receiving only half of the desired sizeNong Van Tinh
(cherry picked from commit bb3d0fc6b7f6caeffbfe43bd05d856373efa5b39)
2023-03-27Fix IME position in the single window mode sub-windows.bruvzg
(cherry picked from commit 3ca3ee36abb2eb9e97b6b8de0ebc99abceda54c2)
2023-03-27Fix `GraphNode` resizing when its bottom border is too thinMichael Alexsander
(cherry picked from commit c567a853db43c7c3ac463f775373ca65f98f0896)
2023-03-27Improve layout direction/locale automatic selection.bruvzg
(cherry picked from commit 82d7923c653b6328ba279bd4183b63b69e21edfc)
2023-03-27Fix some ways to create inconsistent Viewport sizesMarkus Sauermann
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 34a7fc744762dcf66eff7e3b5e4d46e09e7c0bdc)
2023-03-27Fix scrolling behaviour with low page valuePaweł
(cherry picked from commit 1608bea18809dcb4e744ee936f8de8f5660adfbe)
2023-03-14Fix exported type for Menubar start_indexjustchen1369
(cherry picked from commit dbfecdb3b04956db58ee199fdbd9f7c03794e269)
2023-03-14FBX: Disable importer when canceling FBX2glTF setupRémi Verschelde
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 d81e6ee024a8c64b80ac25c96b33c749ba1db79d)
2023-03-13[TextEdit] Do not draw virtual spaces (word break / justification points).bruvzg
(cherry picked from commit 25bc62ad13372490e7ba2c889174ceca34d1f33f)
2023-03-13Don't autocomplete numbers in GDScriptArman Elgudzhyan
Cancel code autocompletion when a numerical value is entered. Avoids interference when setting numbers. (cherry picked from commit 688d00b70645a822ba694b13bcdb312e74d8c034)
2023-03-13Fix RichTextLabel crash with out of bound exceptionPaweł Fertyk
Fixes #68242. (cherry picked from commit 44592c8c197b072d5beee3f14c9c6869a94e9671)
2023-02-27[TextEdit / IME] Check selection before deleting to avoid unnecessary error ↵bruvzg
messages.
2023-02-24Revert "Reordering emitted signals in PopupMenu" and fix editor selection ↵bruvzg
issue in the safer way.
2023-02-23Revert Label text reshaping fix #71553 and subsequent regression fixesRémi Verschelde
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 ed8c5cd52f7914daf6f1aa309581ca3b9b048a2e. - Revert #72387 "Enhance label sizing algorithm" This reverts commit 5131b81a4db89d2ef05f7cff7b4b5ea93b140aec. - Revert #73234 "Fix blank non-autowrapping labels" This reverts commit 3ccabee9ae8f261aa7b0110482fbb5d2500d2e38. - Revert #73343 "Make label sizing algorithm more robust" This reverts commit 4f7f1ef60bdbb0c6d6096d3d99f3e967af7d7a39. - Revert #73426 "Fix width determination of non-trimmed, non-wrapped labels" This reverts commit 73b6c0b972150c7cee3975080bedc510f1088adb.
2023-02-22Revert "Fix visible_lines calculation"Rémi Verschelde
This reverts commit ceee405cec171506dde7bc62033dc52ac3797599. This caused regressions, see #73736 and #73780. Fixes #73780.
2023-02-22Merge pull request #73736 from helviett/fix_visible_lines_calculationRémi Verschelde
Fix visible_lines calculation
2023-02-22Fix visible_lines calculationhelviett
2023-02-22Merge pull request #73587 from YuriSizov/rtl-the-underlinerRémi Verschelde
Ensure minimal thickness for `RichTextLabel` underlines
2023-02-20Merge pull request #73597 from ↵Rémi Verschelde
MewPurPur/add-missing-queue-redraw--oh-wait-that-barely-narrows-it-down Fix Indent/Unindent without a selection not causing a redraw
2023-02-19Fix Indent/Unindent without a selection not causing a redrawVolTer
2023-02-19Ensure minimal thickness for RichTextLabel underlinesYuri Sizov
2023-02-19Fix ctrl+backspace crash with multicarets on the same linePaulb23
2023-02-17Add a custom icon for the `project.godot` file in the EditorFileDialogYuri Sizov
2023-02-17Merge pull request #73508 from nongvantinh/reorder-emitted-signalsYuri Sizov
Reordering emitted signals in PopupMenu
2023-02-17Reordering emitted signals in PopupMenuNong Van Tinh
2023-02-17Merge pull request #72184 from Maran23/item-list-index-out-of-boundsRémi Verschelde
ItemList: Check if the index is out bounds before accessing the internal items
2023-02-17Merge pull request #70781 from jamesmintram/jamesm/bugfix/fix-minimap-oobRémi Verschelde
Fix error spam when hovering minimap in the script editor
2023-02-17Set RTL minimal dash size to 2.0, add invalid dash size error to the ↵bruvzg
`draw_dashed_line`.
2023-02-17Merge pull request #69801 from nongvantinh/fix-invalid-scene-nameRémi Verschelde
Fixed scene name can be saved as extension only
2023-02-17Merge pull request #72764 from Sauermann/fix-color-pickingRémi Verschelde
Fix Color Picking
2023-02-17Prevent saving files with no name and only an extension.Nong Van Tinh
Fixes #69768. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-02-16Fix error spam when hovering minimap in the script editorJames Mintram
2023-02-16Merge pull request #73396 from KoBeWi/sorryRémi Verschelde
Fix crash with AspectRatioContainer and TextureRect
2023-02-16Fix crash with AspectRatioContainer and TextureRectkobewi
2023-02-16Fix width determination of non-trimmed, non-wrapped labelsPedro J. Estébanez
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-15Merge pull request #73343 from RandomShaper/labels_are_evilRémi Verschelde
Make label sizing algorithm more robust
2023-02-15Make label sizing algorithm more robustPedro J. Estébanez
2023-02-15Merge pull request #73349 from dalexeev/fix-tab-bar-redrawYuri Sizov
Fix `TabBar` not redrawing on locale change
2023-02-15Fix `TabBar` not redrawing on locale changeDanil Alexeev
2023-02-15Merge pull request #73293 from RedMser/rich-text-label-fixesYuri Sizov
RichTextLabel: Unexpose internal ItemType enum, improve `push_meta` docs
2023-02-15Fix autocomplete persisting at the beginning of a lineVolTer
2023-02-14RichTextLabel fixesRedMser
- Unexpose ItemType enum, since it is not used in public API. - Fix documentation for meta tag, since it has no BBCode equivalent.
2023-02-14[Editor] Fix editor progress dialog auto closing on ESC press, and on ↵bruvzg
application focus loss.
2023-02-13Fix blank non-autowrapping labelsPedro J. Estébanez
2023-02-13Merge pull request #73191 from KoBeWi/some_color_picker_stuffRémi Verschelde
Fix HSV Rectangle Wheel values
2023-02-13Merge pull request #66745 from EricEzaM/66453-popupmenu-shortcut-shape-fixRémi Verschelde
Ensure PopupMenu item is shaped when the shortcut is set.
2023-02-13Merge pull request #72225 from MinusKube/shaped_text_invalidated_bugRémi Verschelde
Mark dirty flags when shaped texts are invalidated