Reduce size of Simulator in todos test

This commit is contained in:
Héctor Ramón Jiménez 2024-12-17 01:53:39 +01:00
parent b22a847668
commit 0ad40d0338
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 13 additions and 15 deletions

View file

@ -594,11 +594,12 @@ mod tests {
use iced_test::{selector, Error, Simulator};
fn simulator(todos: &Todos) -> Simulator<Message> {
Simulator::with_settings(
Simulator::with_size(
Settings {
fonts: vec![Todos::ICON_FONT.into()],
..Settings::default()
},
(512.0, 512.0),
todos.view(),
)
}