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:
parent
cf2ecbf5f3
commit
c60a780358
2
App.go
2
App.go
@ -37,7 +37,7 @@ func newApplication(conn mpd.Client) *Application {
|
|||||||
|
|
||||||
mainFlex := tview.NewFlex().SetDirection(tview.FlexRow).
|
mainFlex := tview.NewFlex().SetDirection(tview.FlexRow).
|
||||||
AddItem(sNavExpViewFlex, 0, 8, false).
|
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.SetBorderPadding(1, 1, 1, 1).SetBorder(true)
|
||||||
expandedView.SetSelectable(true, false)
|
expandedView.SetSelectable(true, false)
|
||||||
|
Loading…
Reference in New Issue
Block a user