Removing centered from readme example

Until #78 is addressed.
This commit is contained in:
Jonathan Johnson 2023-11-14 20:41:04 -08:00
parent 54e01f1911
commit 80ba184c15
No known key found for this signature in database
GPG key ID: A66D6A34D6620579
3 changed files with 0 additions and 6 deletions

View file

@ -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()
}

View file

@ -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()
}

View file

@ -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()
}