From 4fa5be0ceca5771d1b4f808fb6921af8003a213c Mon Sep 17 00:00:00 2001 From: Roland Fredenhagen Date: Mon, 13 Nov 2023 17:05:30 +0100 Subject: [PATCH] remove in_columns and in_rows again --- examples/button.rs | 2 +- src/widget.rs | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/examples/button.rs b/examples/button.rs index b357da8..9c0314a 100644 --- a/examples/button.rs +++ b/examples/button.rs @@ -22,7 +22,7 @@ fn main() -> gooey::Result { .on_click(count.with_clone(|count| move |_| count.set(count.get() - 1))) .with(&ButtonOutline, Color::DARKRED), ) - .in_columns() + .into_columns() // Run the button as an an application. .run() // end rustme snippet diff --git a/src/widget.rs b/src/widget.rs index 054a29d..0ead588 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -1199,18 +1199,6 @@ impl Children { self } - /// Creates [`Stack::columns`] from self. - #[must_use] - pub fn in_columns(self) -> Stack { - Stack::columns(self) - } - - /// Creates [`Stack::rows`] from self. - #[must_use] - pub fn in_rows(self) -> Stack { - Stack::rows(self) - } - /// Returns the number of widgets in this list. #[must_use] pub fn len(&self) -> usize {