Merge pull request 'Fixed Colors' (#9) from adroslice/gmenu:bugfix-colors into master
Reviewed-on: https://code.rocketnine.space/tslocum/gmenu/pulls/9master
commit
0a993faea6
|
@ -65,6 +65,8 @@ func (r *optionsList) Draw(screen tcell.Screen) {
|
|||
}
|
||||
|
||||
tv := r.TextView
|
||||
tv.SetBackgroundColor(tcell.ColorDefault)
|
||||
tv.SetTextColor(tcell.ColorDefault)
|
||||
tv.SetText(b.String())
|
||||
tv.Highlight("gmenu")
|
||||
tv.ScrollToBeginning()
|
||||
|
@ -93,6 +95,8 @@ func initTUI() (*cview.Application, error) {
|
|||
appDetailsView.SetTextAlign(cview.AlignLeft)
|
||||
appDetailsView.SetWrap(true)
|
||||
appDetailsView.SetWordWrap(true)
|
||||
appDetailsView.SetBackgroundColor(tcell.ColorDefault)
|
||||
appDetailsView.SetTextColor(tcell.ColorDefault)
|
||||
|
||||
if config.HideAppDetails {
|
||||
grid.SetColumns(-1)
|
||||
|
|
Loading…
Reference in New Issue