mirror of https://github.com/divan/expvarmon.git
Increased minimum width for service names
This commit is contained in:
parent
138613cfbf
commit
51c63b6527
|
@ -159,7 +159,7 @@ func (t *TermUI) Relayout() {
|
||||||
listW := tw / num
|
listW := tw / num
|
||||||
|
|
||||||
// Services list must have visible names
|
// Services list must have visible names
|
||||||
minNameWidth := 14
|
minNameWidth := 20
|
||||||
t.Services.Width = minNameWidth
|
t.Services.Width = minNameWidth
|
||||||
if listW > minNameWidth {
|
if listW > minNameWidth {
|
||||||
t.Services.Width = listW
|
t.Services.Width = listW
|
||||||
|
|
Loading…
Reference in New Issue