Versions in this module Expand all Collapse all v0 v0.0.2 Nov 7, 2025 Changes in this version + func AlignBottomFrom(startY, containerHeight, elementHeight uint32) uint32 + func AlignLeft() uint32 + func AlignLeftFrom(startX uint32) uint32 + func AlignRight(pageWidth, elementWidth uint32) uint32 + func AlignRightFrom(startX, elementWidth uint32) uint32 + func AlignTopFrom(startY, elementHeight uint32) uint32 + func CenterElement(pageWidth, elementWidth uint32) uint32 + func CenterElementFrom(startX, containerWidth, elementWidth uint32) uint32 + func CenterElementVerticallyFrom(startY, containerHeight, elementHeight uint32) uint32 + func TruncateString(str string, maxLength int) string