RichTextLabel Table Cell Topp & Left Borders Missing

Godot Version

4.5.1

Question

The left and top cells in my RichTextLabel do not display the border color, as below.

The scene structure is:

I’m creating the table dynamically in C#, for example:

            detail.PushCell();
            detail.SetCellBorderColor(borderColor);
            detail.SetCellPadding(padding);
            detail.AddText("Age");
            detail.Pop();

Can anyone tell me how to fix this? Thanks.

If you aren’t using its built-in scrolling then you could try disabling its Control.clip_contents property.

Thanks @mrcdk, you are right. Disabling the Control.clip_contents solves the problem.

I will probably be using the scrolling, so I’ll look for an alternative.

Putting a text line above the table solves the problem with the top border.

I tried putting empty columns on the left and right sides of the table. This fixes the border on the left side but not the right. If I find a way to do it, I’ll post it here.