rivo / tview

Terminal UI library with rich, interactive widgets — written in Golang
MIT License
11.13k stars 575 forks source link

[List] add gap between list items #953

Open cybardev opened 8 months ago

cybardev commented 8 months ago

Apologies if this has been answered somewhere before, but I wasn't able to find it on the Wiki, Docs, or Issues.

How would I add gaps between list items so they don't seem like one big thing?

image

I tried putting a newline at the start of the primary text, and at the end of the secondary text, but that doesn't work (obviously, I suppose, but had to check).

I don't want to get into layouts if not needed. I feel like there's a simpler way I'm missing...

digitallyserviced commented 8 months ago

@cybardev There is no way to do this with the current list component.

However I do have suggestions for being able to enhance visibility.

hope one of these will help