mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-03 15:14:35 +00:00
![]() Make the size argument to svg::render optional to mean that it is the default size of the image. Otherwise, passing None as the size to ImageInner::render_to_buffer would not render the image which is possible in some backend (eg: the button image icon with the qt backend) And if the image is really rendered on an empty because of layouting or so, we don't need to show a warning anyway. Fix #3790 |
||
---|---|---|
.. | ||
cache.rs | ||
htmlimage.rs | ||
svg.rs |