• Godot Help
  • How do I add a horizontal line separator between each row in a GridContainer?

I am using a GridContainer with 3 columns. How do I add a horizontal line separator between each row just like the attached image.

  • Does changing the GridContainer's hseparation theme property to 0 remove the gaps?
    add_constant_override("hseparation", 0)

DaveTheCoder I have tried that but since my GridContainer has 3 columns I have to add 3 HSeparator and the result is there is a gap between each HSeparator.

Does changing the GridContainer's hseparation theme property to 0 remove the gaps?
add_constant_override("hseparation", 0)

    DaveTheCoder Yes, that work but it still has a tiny gap with hseparation 0. I set it to -1 and it's good. Thanks Dave!