mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 12:15:32 +00:00
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.