Type LayoutKind

type LayoutKind string

LayoutKind names one way a frame's geometry is probably wrong.

Constants

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"
)