const (
// LayoutOffscreen is text whose visible part reaches outside the window.
LayoutOffscreen LayoutKind = "offscreen"
// LayoutClipped is text a clip cuts off at its end: a label that is truncated.
LayoutClipped LayoutKind = "clipped"
// LayoutOverlap is two texts on one layer that are drawn over each other.
LayoutOverlap LayoutKind = "overlap"
// LayoutSpill is text that reaches out of the control it is inside.
LayoutSpill LayoutKind = "spill"
// LayoutCollide is two focusable controls on one layer that cross each other
// without one containing the other.
LayoutCollide LayoutKind = "collide"
)类型 LayoutKind
API 文档由 Go 源码生成,内容为英文。
type LayoutKind stringLayoutKind names one way a frame's geometry is probably wrong.