This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Any Control has a property grow_direction in case it is given larger contents than its Rect. I would rather like to fix the Rect of a Control (as a ScrollContainer looks like), but there is no such option in grow_direction. I am wondering what rect_clip_content does now.

To be more specific, I am using a VBoxContainer as a text log of events (each log is, say, an HBoxContainer). When too many logs are created, the container grows automatically according to grow_direction, even though rect_clip_content is turned on. This is not what I want.

Could I fix Rect of any general Control?

Godot version 3.5.1
in Engine by (46 points)
edited by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.