summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2023-04-24Use Point2 consistently in Control methodsYuri Sizov
While Size2 and Point2 are just aliases, which is why this doesn't fail compilation, it's nice to have things consistent. (cherry picked from commit 4fed87320cf8e1a87fc6c54bf15cef6f610e6091)
2023-04-24Improve line BiDi handling, prevent crash on recursive log updates.bruvzg
(cherry picked from commit 282e4231c26c172b186a5bf22a8ba7f0337ba3d6)
2023-04-24[TextServer] Use dedicated flag for object replacement characters.bruvzg
(cherry picked from commit d904516e553426dae1fa40566e3fe67f6213e769)
2023-04-24Tree: Fix offset calculation when there are hidden itemsHaoyu Qiu
(cherry picked from commit a083c855214722bc02ed2eb48ea808c7f4d756da)
2023-04-24Allow entering named colors in ColorPicker's hex fieldHugo Locurcio
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 517dc3654a80e30021b8468ef87d0327200963db)
2023-04-24Fixed RichTextLabel wrong selection offset in padded table cell.Koyper
(cherry picked from commit 6f11cf7d31101bc9f4d3c5d644f90b231cd7ce4f)
2023-04-24Fix CI build errorJuan Linietsky
Fixes potential use of uninitialized variable. (cherry picked from commit 37362202a48f6ee731e14e47579979509bc23017)
2023-04-07Fix the issue preventing dragging in the 2D and visual shader editorFredia Huya-Kouadio
(cherry picked from commit 2c7633dce57b925639183c8a21d7550d35f0a114)
2023-04-07GraphNode ignore non-visible children for minimum size.Johan Aires Rastén
(cherry picked from commit 9a60c4affb0d6c3638aea140a820eddf258eb133)
2023-04-07Fix several GraphEdit operations at zoom levels other than 100%Hendrik Brucker
(cherry picked from commit 49587fd6d940f11d40e7a324f2829f88c7204a11)
2023-04-07TextureProgressBar Update upon texture changeskleonc
(cherry picked from commit cdc63214fe58880654e26fd0e2d016c2a927a151)
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