How can I round the corners of a Tauri application window? I've tried several approaches, but none seem to work. Any help would be appreciated.
Warning: MacOS Only
I'm gonna leave this here for anyone using Vibrancy plugin, there is a method to do this, it's just not documented well enough. I had to dig to find it, and it's simple
apply_vibrancy(&spotlight_window, NSVisualEffectMaterial::HudWindow, None, Some(16.0))
.expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");
Some(16.0) is key here. that's the roundness value in pixels.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With