You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you set TextEdit's wrap mode to boundary and enable scroll_fit_content_height, the TextEdit is expected to never show scrollbars. But it does show scrollbars at certain sizes, both horizontal and vertical.
godot.windows.editor.dev.x86_64_CSyM4ZoUMl.mp4
I remember this worked seamlessly when the fit content feature was first added.
Moreover, if the text is sufficiently long, it can freeze at certain sizes.
ded.mp4
(also notice how horizontal scroll appears despite using autowrap)
EDIT:
Seems like #80546 covers the freeze (crash) part. But the scrollbar bug is still relevant here.
Steps to reproduce
Add TextEdit
Set wrap_mode to Boundary
Enable scroll_fit_content_height
Put any text longer than ~10 words
Resize
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered:
KoBeWi
changed the title
TextEdit with autowrap and fit content height does not work correctly and may freeze app
TextEdit with autowrap and fit content height does not work correctly
Sep 16, 2023
Godot version
4.2 dev4
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
When you set TextEdit's wrap mode to boundary and enable
scroll_fit_content_height
, the TextEdit is expected to never show scrollbars. But it does show scrollbars at certain sizes, both horizontal and vertical.godot.windows.editor.dev.x86_64_CSyM4ZoUMl.mp4
I remember this worked seamlessly when the fit content feature was first added.
Moreover, if the text is sufficiently long, it can freeze at certain sizes.
ded.mp4
(also notice how horizontal scroll appears despite using autowrap)
EDIT:
Seems like #80546 covers the freeze (crash) part. But the scrollbar bug is still relevant here.
Steps to reproduce
wrap_mode
to Boundaryscroll_fit_content_height
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: