func (b *Box) Remove(i int) {
	if len(b.children) <= i || i < 0 {
		return
	}
	b.children = append(b.children[:i], b.children[i+1:]...)
}
Remove deletes the widget from the Box at a given index.
package tui
import (
	"image"
)
var _ Widget = &Box{}
type Alignment int
const (
	Horizontal Alignment = iota
	Vertical
)
type Box struct {
	WidgetBase
	children []Widget
	border bool
	title  string
	alignment Alignment
}
func NewVBox(c ...Widget) *Box {
	return &Box{
		children:  c,
		alignment: Vertical,
	}
}
func NewHBox(c ...Widget) *Box {
	return &Box{
		children:  c,
		alignment: Horizontal,
	}
}
func (b *Box) Append(w Widget) {
	b.children = append(b.children, w)
}
func (b *Box) Prepend(w Widget) {
	b.children = append([]Widget{w}, b.children...)
}
func (b *Box) Insert(i int, w Widget) {
	if len(b.children) < i || i < 0 {
		return
	}
	b.children = append(b.children, nil)
	copy(b.children[i+1:], b.children[i:])
	b.children[i] = w
}