godot icon indicating copy to clipboard operation
godot copied to clipboard

Implement a new property named ScrollContainer.max_size

Open radiantgurl opened this issue 1 year ago • 2 comments

Gives the programmer more settings as to how their ScrollContainers act.

radiantgurl avatar Jul 10 '24 11:07 radiantgurl

Please open a proposal to track the support and details of this feature

AThousandShips avatar Jul 10 '24 11:07 AThousandShips

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.

KoBeWi avatar Jul 19 '24 13:07 KoBeWi

I am still waiting for this because every other method feels too hacky. Is something blocking this?

henryherkula avatar Jan 25 '25 22:01 henryherkula

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.

KoBeWi avatar Jan 25 '25 23:01 KoBeWi

@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.

StarryWorm avatar Nov 03 '25 15:11 StarryWorm

Nope, no longer working on it, feel free to do so.

radiantgurl avatar Nov 03 '25 15:11 radiantgurl