From 80ba184c15a1de4edab6f0050069690f2295d50e Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Tue, 14 Nov 2023 20:41:04 -0800 Subject: [PATCH] Removing centered from readme example Until #78 is addressed. --- .crate-docs.md | 2 -- README.md | 2 -- examples/basic-button.rs | 2 -- 3 files changed, 6 deletions(-) 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() }