fix(tui): set explicit NAME column width to match content truncation
Was width=0 (auto) which let lipgloss over-allocate the column, causing visible empty space between truncated names and TYPE column. Now set to nameW explicitly so column width = truncation limit.
This commit is contained in:
@@ -412,7 +412,7 @@ func (m Model) computeLayout() tableLayout {
|
|||||||
for i, c := range cols {
|
for i, c := range cols {
|
||||||
if i == 1 {
|
if i == 1 {
|
||||||
headers[i] = "NAME"
|
headers[i] = "NAME"
|
||||||
widths[i] = 0
|
widths[i] = nameW
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if i == 6 {
|
if i == 6 {
|
||||||
|
|||||||
Reference in New Issue
Block a user