Skip to content

Commit

Permalink
Improved UI
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosuzart committed Feb 25, 2024
1 parent d437f3e commit bcf8b39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,12 +341,14 @@ func AddComponents(context context.Context, app *tview.Application) *tview.Grid
grid := tview.NewGrid().
SetRows(3, 3, -5, 3).
SetMinSize(3, 20).
SetBorders(true).
SetBorders(false).
AddItem(infoTable, 0, 0, 1, 1, 0, 0, false).
AddItem(filterForm, 1, 0, 1, 1, 0, 0, true)

// Layout for screens narrower than 100 cells (menu and side bar are hidden).
grid.AddItem(tupleTable, 2, 0, 1, 1, 0, 0, false)
x := tview.NewFrame(tupleTable)
x.SetBorder(true).SetBorderAttributes(tcell.AttrNone)
grid.AddItem(x, 2, 0, 1, 1, 0, 0, false)

grid.AddItem(helpBox, 3, 0, 1, 1, 3, 0, false)

Expand Down

0 comments on commit bcf8b39

Please sign in to comment.