Browse Source

Flex demo is probably better without a border.

tablepad
Oliver 5 years ago
parent
commit
4c0e74ada0
  1. 1
      demos/flex/main.go

1
demos/flex/main.go

@ -14,7 +14,6 @@ func main() {
AddItem(tview.NewBox().SetBorder(true).SetTitle("Middle (3 x height of Top)"), 0, 3, false).
AddItem(tview.NewBox().SetBorder(true).SetTitle("Bottom (5 rows)"), 5, 1, false), 0, 2, false).
AddItem(tview.NewBox().SetBorder(true).SetTitle("Right (20 cols)"), 20, 1, false)
flex.SetBorder(true)
if err := app.SetRoot(flex, true).SetFocus(flex).Run(); err != nil {
panic(err)
}

Loading…
Cancel
Save