We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using an SVG on macOS with tiny-skia the layout is not correct:
pub const LOGO: &'static [u8] = include_bytes!("../res/circle.svg"); pub fn logo() -> Svg<'static> { svg(svg::Handle::from_memory(LOGO)) } pub fn banner<'a, T: 'static>(title: &'static str) -> Element<'a, T> { let header_content = row![ container(logo().height(64).width(64)).padding(Padding { right: 20., ..Default::default() }), column![text("Header").size(24), text(title).size(20)] ]; container(header_content) .padding(12) .width(Fill) .style(|_| container::Style { background: Some(Background::Color(Color::from_rgb8(246, 247, 250))), ..Default::default() }) .into() }
It works fine using wgpu. I created a minimal repro for the issue here: https://github.com/njust/iced-svg-issue.git
The issue exists on iced 0.13.1 and the current master (beddf49).
No layout issues. On Linux and Windows it's rendered as expected:
crates.io release
macOS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When using an SVG on macOS with tiny-skia the layout is not correct:
It works fine using wgpu. I created a minimal repro for the issue here:
https://github.com/njust/iced-svg-issue.git
The issue exists on iced 0.13.1 and the current master (beddf49).
What is the expected behavior?
No layout issues. On Linux and Windows it's rendered as expected:
Linux
Windows
Version
crates.io release
Operating System
macOS
Do you have any log output?
The text was updated successfully, but these errors were encountered: