tview icon indicating copy to clipboard operation
tview copied to clipboard

grid border title

Open xhsky opened this issue 3 years ago • 1 comments

Is there a way to add a title to the grid's border?

xhsky avatar Jun 23 '22 10:06 xhsky

You can add a title to any primitive using Box.SetTitle().

If you mean to add a title to each grid item, drawn over the grid lines, there is no direct way. You could remove the gaps and add borders and titles to each of your grid items. But this will draw separate boxes for each item. Not as pretty as the grid lines but it might do the trick for you.

rivo avatar Aug 11 '22 19:08 rivo