mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 05:12:55 +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 |
||
|---|---|---|
| .. | ||
| calloop_backend | ||
| display | ||
| LICENSES | ||
| renderer | ||
| calloop_backend.rs | ||
| Cargo.toml | ||
| fullscreenwindowadapter.rs | ||
| lib.rs | ||
| mouse-pointer.svg | ||
| noop_backend.rs | ||
| README.md | ||
NOTE: This library is an internal crate of the Slint project.
This crate should not be used directly by applications using Slint.
You should use the slint crate instead.
WARNING: This crate does not follow the semver convention for versioning and can
only be used with version = "=x.y.z" in Cargo.toml.