diff --git a/.crate-docs.md b/.crate-docs.md index a1998a7..088a382 100644 --- a/.crate-docs.md +++ b/.crate-docs.md @@ -27,8 +27,6 @@ fn main() -> gooey::Result { .into_button() // Set the `on_click` callback to a closure that increments the counter. .on_click(count.with_clone(|count| move |_| count.set(count.get() + 1))) - // Position the button in the center - .centered() // Run the application .run() } diff --git a/README.md b/README.md index ff46a56..33a9ff5 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,6 @@ fn main() -> gooey::Result { .into_button() // Set the `on_click` callback to a closure that increments the counter. .on_click(count.with_clone(|count| move |_| count.set(count.get() + 1))) - // Position the button in the center - .centered() // Run the application .run() } diff --git a/examples/basic-button.rs b/examples/basic-button.rs index 34ba73c..cdccc9f 100644 --- a/examples/basic-button.rs +++ b/examples/basic-button.rs @@ -14,8 +14,6 @@ fn main() -> gooey::Result { .into_button() // Set the `on_click` callback to a closure that increments the counter. .on_click(count.with_clone(|count| move |_| count.set(count.get() + 1))) - // Position the button in the center - .centered() // Run the application .run() }