mirror of
https://github.com/danbulant/cushy
synced 2026-05-24 12:28:23 +00:00
remove in_columns and in_rows again
This commit is contained in:
parent
ea89531d00
commit
4fa5be0cec
2 changed files with 1 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue