b9d97d0724e7da7e67ec347b76b08e1f8fbfff08
The window kept Windows' native caption above the app's own title bar: two title bars, and nothing in the frame said the app was drawing its own. Setting `.titlebar(Titlebar::new(app::TITLEBAR_HEIGHT))` hands the frame to Rune. The native caption goes; Windows keeps its resize edges, snap layouts and window menu, and Rune draws the minimize, maximize and close buttons over the bar's right edge in the ink the view gives with `Cx::caption_color`. The bar pads itself by `Cx::chrome_insets`, so its own buttons keep clear of those on either platform (macOS keeps its traffic lights at the leading edge). The window now refuses to shrink past the width where both rows fit.
Languages
Rust
100%