Implement a new property named ScrollContainer.max_size
Gives the programmer more settings as to how their ScrollContainers act.
Please open a proposal to track the support and details of this feature
There is a related proposal: https://github.com/godotengine/godot-proposals/issues/8333 (it also links to another similar issue) I remember I wanted such functionality a couple of times, but I never opened a proposal for it. Not sure why, probably I realized I don't actually need it 🤔 Such property could be useful for RichTextLabel too, as it's also scrollable. One potential usage are dynamically sized textboxes; they have a panel that should shrink to text, but also expand to a certain (not too big) size if the text is long.
I am still waiting for this because every other method feels too hacky. Is something blocking this?
It's a new feature so it could probably use more reviews. The PR missed the window for 4.4, so it will have to wait a bit longer. Also needs rebase.
@radiantgurl are you still planning on working on this (i.e. rebase, handle reviews, etc)? If not, I will salvage the PR and bring it up to date, putting you as co-author.
Nope, no longer working on it, feel free to do so.