diff --git a/crates/gpui/examples/hello_world.rs b/crates/gpui/examples/hello_world.rs index 96ab335b08..0ff44a57c0 100644 --- a/crates/gpui/examples/hello_world.rs +++ b/crates/gpui/examples/hello_world.rs @@ -23,7 +23,7 @@ impl Render for HelloWorld { fn main() { App::new().run(|cx: &mut AppContext| { - let bounds = Bounds::centered(None, size(px(600.0), px(600.0)), cx); + let bounds = Bounds::new(Point::new(px(14.0), px(49.0)), size(px(300.0), px(300.0))); cx.open_window( WindowOptions { window_bounds: Some(WindowBounds::Windowed(bounds)),