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 running under the tiny-skia renderer, the window doesn't refresh, and the right side is cut off.
A minimal reproduction:
use iced::alignment::Horizontal; use iced::widget::{self, row, text}; use iced::{time, Element, Length, Subscription, Task}; use std::time::Duration; struct Minimal { value: u32, } #[derive(Debug, Clone)] pub enum Message { Tick, } impl Minimal { fn new() -> (Self, Task<Message>) { (Self { value: 0 }, widget::focus_next()) } fn update(&mut self, message: Message) -> Task<Message> { match message { Message::Tick => { self.value += 1; } } Task::none() } fn subscription(&self) -> Subscription<Message> { time::every(Duration::from_secs(1)).map(|_instant| Message::Tick) } fn view(&self) -> Element<Message> { row![text("Value"), text(format!("{}%", self.value)).width(Length::Fill).align_x(Horizontal::Right)] .padding([0, 10]) .into() } } pub fn main() { let _ = iced::application("minimal", Minimal::update, Minimal::view) .subscription(Minimal::subscription) .run_with(Minimal::new); }
My Cargo.toml:
Cargo.toml
[package] name = "minimal" version = "0.2.0" edition = "2021" [dependencies] iced = { version = "0.13.1", features = ["tokio"] } [build-dependencies] iced = "0.13.1" [profile.release] strip = true lto = true codegen-units = 1
Behaves the same as the wgpu renderer.
crates.io release
Arch Linux X11
No response
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 running under the tiny-skia renderer, the window doesn't refresh, and the right side is cut off.
A minimal reproduction:
My
Cargo.toml
:What is the expected behavior?
Behaves the same as the wgpu renderer.
Version
crates.io release
Operating System
Arch Linux X11
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: