From 0ad40d03387a8127b445305a1c63fa3d2ac45ed7 Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector@hecrj.dev>
Date: Tue, 17 Dec 2024 01:53:39 +0100
Subject: Reduce size of `Simulator` in `todos` test

---
 examples/todos/src/main.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'examples/todos/src/main.rs')

diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs
index 1cc47782..0b80f002 100644
--- a/examples/todos/src/main.rs
+++ b/examples/todos/src/main.rs
@@ -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(),
         )
     }
-- 
cgit