Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
17.6k
stars
604
forks
source link
Slint software renderer doesn't show gradients on rectangle with border (not the rounded case) #6225
Open
yanshay opened 1 month ago
On embedded device, using the software renderer a rectangle with border doesn't show gradients. Enough to have
border-width: 1px
When removing the border (by removing the
border-width
) it shows fine.I'm aware of it not supporting rounded borders but this also doesn't work with a simple border.
A workaround to this is by adding another rectangle after that for showing only the border.