Fixed the Resizing Problem of ProgressBar

the progressBar previously when resized could not sustain the artist
name and title now the progressBar size is fixed.
This commit is contained in:
aditya-K2 2021-10-19 11:58:01 +05:30
parent cf2ecbf5f3
commit c60a780358
1 changed files with 1 additions and 1 deletions

2
App.go
View File

@ -37,7 +37,7 @@ func newApplication(conn mpd.Client) *Application {
mainFlex := tview.NewFlex().SetDirection(tview.FlexRow).
AddItem(sNavExpViewFlex, 0, 8, false).
AddItem(pBar.t, 0, 1, false)
AddItem(pBar.t, 5, 1, false)
expandedView.SetBorderPadding(1, 1, 1, 1).SetBorder(true)
expandedView.SetSelectable(true, false)