Files
craft-libs/docs
aiongg b35a0faee0 Floating windows: production's bar height, grips and AppKit resize
- 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).
2026-11-20 16:57:13 +00:00
..
2026-11-19 10:33:55 +00:00
2026-11-18 12:20:27 +00:00