slint/sixtyfps_runtime/rendering_backends
Simon Hausmann 220dc2ee47 Fix rendering of rounded rectangles in examples preview
For something like

    Window {
        GridLayout {
            Rectangle {
                border_width: 2lx;
                border_radius: 2lx;
                border_color: black;
            }
        }
    }

The border was not fully visible and partly obscured by the window
frame, the canvas element in the case of the preview in the examples.
That looks bad, and this patch fixes it by respecting the border width
in the geometry used to stroke and fill the rectangle.
2020-09-04 14:27:58 +02:00
..
default Qt style support for the rust backend 2020-09-01 12:25:11 +02:00
gl Fix rendering of rounded rectangles in examples preview 2020-09-04 14:27:58 +02:00
qt Impletment GroupBox with the Qt style 2020-09-02 17:05:28 +02:00