-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor property selector does not clamp description #83495
Comments
Idk if I'll be able to work on this, but I started looking into it. I found where the description is created and it uses a MarginContainer subclass. I think the solution is to just add it to a ScrollContainer, but when I tried that, I couldn't expand the width. Would that be a good way to fix this? If so, how do you set the width of the container so it expands like the margincontainer seems to already do? |
Set horizontal flags to EXPAND_FILL. |
I might have fixed it yesterday but then forgot to post about it. The issue was solved by disabling set_fit_content in the rich text label in help_bit but some questions are
please have patience I am new to Github and c++ :) |
It already has a reference to it so no need to add the include, all |
It would be nice if the box wasn't a fixed size. It should use minimum size and only grow when necessary, up to a certain height. Not sure how to achieve it though 🤔 |
I am working on that now. |
Screen.Recording.2023-10-20.at.6.12.17.PM.movSo NOT this, right? It's a fixed height clearly |
@namedtoaster I think you have solved the issue but not push it to repo and show us source code what you have done ? |
what should the height be clamped to? |
@quirkylemon just curious does your code change have the same effect as the one in my video? Like I said I probably won't push a PR but wanted to see if that's what the goal was or not |
yeah |
Go for it |
Godot version
4.2 beta1
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
ZUGV8CMUXg.mp4
The description should be scrollable probably.
Steps to reproduce
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: