Files
David Richardson 42a8c2699f AppKit: Use frame-border-width theme attribute for window frame geometry
The frame-outset theme attribute affected window frame conversions, but no
layout code honoured it. Aristo3's 1-point outset on each side only
compensated for the border and divider that
+[_CPStandardWindowView frameRectForContentRect:] omitted. Now that it
adds them, the outset counted them twice, making each standard window's
content view 2 points wider and 2 points taller than its content rect in
the browser.

The standard window also inset its content by a fixed 1 point
for the frame border, whereas the border is drawn from the theme's
frame-border-width attribute (default 0).

Remove frame-outset from the window view, its defaults, and Aristo3.
Window frame conversions and layout now inset the content by the theme's
frame-border-width, falling back to class defaults when unset, so the
frame rect represents the window as drawn, as in NSWindow.
2026-11-30 15:18:36 -06:00
..
2022-03-23 06:53:00 +01:00