Documentation ¶
Overview ¶
Package absolute implements a fixed layout system similar to HTML absolute positioning. It does not support animations or flexible sizing. For more complex layouts, see the constraint package.
l := &absolute.Layouter{ Guide: layout.Guide{Frame: layout.Rt(0, 0, 100, 100)} } childView := NewChildView(...) l.Add(childView, layout.Guide{Frame: layout.Rt(10, 10, 90, 90)}) return view.Model{ Views: l.Views(), Layouter:l, }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layouter ¶
type Layouter struct { // Layout guide for the view. Guide layout.Guide // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.