Versions in this module Expand all Collapse all v0 v0.1.35 Aug 9, 2026 v0.1.34 Aug 3, 2026 Changes in this version + type Breakpoints struct + CompactHeight int + CompactWidth int + MinimalHeight int + MinimalWidth int + func DefaultBreakpoints() Breakpoints + type Layout struct + CompactMode bool + Footer Rectangle + Header Rectangle + Height int + Main Rectangle + Mode LayoutMode + Search Rectangle + Sidebar Rectangle + SmallScreen bool + StatusBar Rectangle + Width int + func CalculateLayout(width, height int, config *LayoutConfig) *Layout + func (l *Layout) GetAvailableHeight() int + func (l *Layout) GetAvailableWidth() int + func (l *Layout) GetContentArea(padding int) Rectangle + func (l *Layout) IsFooterVisible() bool + func (l *Layout) IsHeaderVisible() bool + func (l *Layout) IsSidebarVisible() bool + type LayoutCalculator struct + func NewLayoutCalculator(config *LayoutConfig) *LayoutCalculator + func (lc *LayoutCalculator) CalculateTableHeight(layout *Layout, reservedLines int) int + func (lc *LayoutCalculator) CalculateTableWidth(layout *Layout, reservedColumns int) int + func (lc *LayoutCalculator) GetResponsiveBreakpoint(layout *Layout) string + func (lc *LayoutCalculator) ShouldShowComponent(layout *Layout, component string) bool + type LayoutConfig struct + Breakpoints Breakpoints + FooterHeight int + HeaderHeight int + SearchHeight int + ShowFooter bool + ShowHeader bool + ShowSidebar bool + ShowStatusBar bool + SidebarWidth int + StatusBarHeight int + func DefaultLayoutConfig() *LayoutConfig + type LayoutMode uint8 + const LayoutCompact + const LayoutMinimal + const LayoutNormal + type Rectangle struct + Height int + Width int + X int + Y int