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.
+1 vote


I've been trying to create a menu with TextureRects that scale when moused over inside of various containers, like GridContainer and H / VBoxContainers etc to hold them.

I have 6 images and when they are moused over I want it to scale the moused over or clicked image then the other members to adjust to the increased size and give it room kind of like a carousel or apple app menu. So far I can get the scaling etc but not the neighbors to auto-adjust sideways inside of a container to the size increase. Would the size_flags be used?

x x x x x x

x x X x x x

Looking for advise on how to set this up. Is there a container type which would do this. Or will I have to code it manually?


in Engine by (31 points)

That sounds like a type of container I would code manually, as opposed to trying to somehow make it work with the builtin containers.
Is your carousel scrolling also?

I figured that would be the case. At this stage it wouldn't be scrolling as all elements would fit nicely on screen with space for the movement.
I'll give it a a go.

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.