VSeparator disappears on certain resolutions

Godot Version



i have a vseparator between two nodes and it keeps disappearing. i’ve tried changing the scaling to viewport, and setting a minimum width, but neither solution works.

this is on 1280x720:

and this is resized width-wise a few pixels:

If you make it even wider it should show up even if you change the resolution.

I’ve noticed that the separators can be a little finicky, but we need more information. What does your UI scene look like, and what are the settings for the UI nodes?

1 Like

there’s a main node, with an hboxcontainer that has a node, the separator, and another node. using stretch ratios for both nodes, first one is 0.35 and the second is 0.65. they’re both set to expand.

1 Like

Hmm, I can’t replicate the issue. Maybe open a clean scene, add the box, nodes, and separator, and see if the issue persists.

1 Like

made a new scene from scratch, still having the problem. i tried setting the second node’s stretch ratio to 0.64 and the separator to 0.01 in case it was something with that, but it also didn’t change much. for the earlier post, even setting the width to a minimum of 100 doesn’t do anything. separators themselves should really be resizable

i just swapped out the separator with a 3px width ColorRect and it works perfectly. colour and width are adjustable, so it’s a lot better anyway.

1 Like

That’s a good idea. I might use that in my games.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.