How do I increase the thickness of HSeparator?

Godot Version



Here is what I have tried so far:

item =
item.add_theme_constant_override(“thickness”, 5)
item.add_theme_constant_override(“separation”, 5)
#item.custom_minimum_size.y = 5
print( add sep 1)

Thank you!

Hi, in order to increase the thickness of the HSeparator node, you need to set the “separator” stylebox. Increasing the separation will increase the size of the HSeparator, but will not increase the visual size of the line drawn on the screen.

	var item =
	var s =
	s.thickness = 5
	item.add_theme_stylebox_override("separator", s)
1 Like