summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
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
2023-02-13Merge pull request #72387 from RandomShaper/avoid_infinite_2Rémi Verschelde
Enhance label sizing algorithm (a.k.a. prevent infinite GUI re-layout)
2023-02-13Fix HSV Rectangle Wheel valueskobewi
2023-02-12Fix GraphEdit port hotzone snappingHendrik Brucker
2023-02-10Merge pull request #72378 from maximkulkin/line-edit-consume-eventsRémi Verschelde
Fix LineEdit not consuming events
2023-02-10Merge pull request #72714 from DarkMessiah/fix-unlimited-text-in-treeRémi Verschelde
Fix unlimited text rendering in Tree if width <= 0
2023-02-09Merge pull request #72884 from groud/fix_trackpad_viewpannerRémi Verschelde
Fix panning via InputEventPanGesture
2023-02-09Update GraphEdit configuration warning, mark GraphNode/GraphEdit as experimentalHendrik Brucker
2023-02-09Fix Color PickingMarkus Sauermann
With the 4.x-introduction of Windows the previous method for color picking was no longer working. This PR uses the following approach to reintroduce color-picking. When the Color-Picking-Button is pressed, a quasi-screenshot of the Window-content is created and displayed in a new Popup-Window. This new Window allows selecting colors by Mouse-Click. A Preview of the targeted Color is also displayed.
2023-02-08Fix panning via InputEventPanGestureGilles Roudière
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-02-07Use min_size/max_size to limit the window size and the position while popup ↵Rindbee
center
2023-02-06Merge pull request #72770 from Kabiirk/Control-has-point-doc-updateRémi Verschelde
Fix description and argument name in `Control._has_point`
2023-02-07Fix description and argument name in Control._has_pointKabiir
2023-02-06Fix Screen-Transform missing in Button Size in OptionButton::show_popupMarkus Sauermann
The button size is affected by the screen transform, which was previously not taken into consideration.
2023-02-06Merge pull request #72204 from MinusKube/anchorable_rect_editor_bugYuri Sizov
Fix get_parent_anchorable_rect() not returning the correct size in some cases
2023-02-06Enhance label sizing algorithmPedro J. Estébanez
2023-02-04Fix unlimited text rendering in Tree if width <= 0Stanislav Labzyuk