mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 04:22:38 +01:00
- The floating window's title row is one text row high (HeaderStrength::Bar, size.row.text: 18 pt compact), as production's 18 pt bar; the tab strip below keeps the panel header height. - A resizable or movable layer with a header keeps its top grip's band (contract::grip_band, size.handle.sm) clear above the header, so the top grip never lies over it; the regions start below the band or the padding, whichever is deeper. Dialogs keep their layout (their padding is deeper than the band). - Grips lie inside the frame for layers too; corners reach twice the edge width along each edge (12 pt), top corners of a banded layer only the band's height. - Where the OS resizes a window from its own frame (macOS Inset, resizable: windows::os_resizes) no app grips stand, the cursor over AppKit's resize areas is the default (craft_window::mac::in_resize_area) and the move band keeps the arrow, as an OS title bar does. - DockSizes::window_chrome (title row plus the band in the app window) sizes floating windows, stepped resizes, collapsed windows and float previews (FloatSpace::chrome).