remove in_columns and in_rows again

This commit is contained in:
Roland Fredenhagen 2023-11-13 17:05:30 +01:00
parent ea89531d00
commit 4fa5be0cec
No known key found for this signature in database
GPG key ID: 094AF99241035EB6
2 changed files with 1 additions and 13 deletions

View file

@ -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

View file

@ -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 {