Overview
This pattern allows Omnis windows to resize dynamically based on message
content.
Key Ideas
- Use kPagedPane for automatic resizing
- Use background kText object
- Let Omnis handle layout
- Only calculate required height
Structure
Window └── kPagedPane (messagePane) └── Background object (iMessage)
Benefits
- Works across many Omnis versions
- Handles CRs, styles, wrapping
- No hardcoded sizes
Summary
Set message → calculate height → adjust window → let Omnis do the rest.