diff --git a/pegboard.go b/pegboard.go index 1643df8..1812c0f 100644 --- a/pegboard.go +++ b/pegboard.go @@ -12,9 +12,9 @@ type Pegboard struct { } // NewPegboard creates a new pegboard. If the provided layout is nil, it will -// use a FlowHorizontal layout. +// use a FlowVertical layout. func NewPegboard (layout tomo.Layout, children ...tomo.Object) *Pegboard { - if layout == nil { layout = layouts.FlowHorizontal } + if layout == nil { layout = layouts.FlowVertical } pegboard := &Pegboard { } pegboard.init(layout, children...) pegboard.box.SetRole(tomo.R("objects", "Pegboard"))