Skip to content

Scale window corner radii by smallSpacing factor

BUG: 422551

This adds scaling with DPI to the window and shadow corner radius. I have scaled using smallSpacing and adjusted the Metrics::Frame_FrameRadius to give a result which matches the scale factor used for most existing window decoration spacing and sizing.

Below is an X11 window with Breeze Light at 100% scaling and normal borders enabled: Breeze_light_100__normal_borders

For comparison here is an X11 window with Breeze Light at 250% scaling and normal borders enabled: Breeze_light_250__normal_borders

Edited by Paul McAuley

Merge request reports

Loading