ColourRect doesn't show in HBoxContainer like a TextureRect does

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By meruva

![screenshot of project][1]

When I add a ColourRect to a HboxContainer it does not hold its dimensions like a TextureRect does. so what I have displayed on it cannot be seen.

I have tried toggling the Expand property in the Container Sizing . But this makes no difference. Does anyone know what the issue is?

https://ibb.co/h7f2N0K

https://ibb.co/h7f2N0K

This is a link to a screenshot of what I can see. I dont know how to embed images yet

meruva | 2023-05-10 19:53

:bust_in_silhouette: Reply From: CollCaz

Your issue could be fixed by making the Custom Minimum Size greater than zero

Just set it to whatever size you want the color rect to hold.

Much appreciated. I think this was the issue. I have watched youtube courses and even taken a Udemy course and this didn’t come up. Guess experience is still the best teacher

meruva | 2023-05-11 18:13