mirror of
https://github.com/danbulant/cushy
synced 2026-06-07 16:42:56 +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)))
|
.on_click(count.with_clone(|count| move |_| count.set(count.get() - 1)))
|
||||||
.with(&ButtonOutline, Color::DARKRED),
|
.with(&ButtonOutline, Color::DARKRED),
|
||||||
)
|
)
|
||||||
.in_columns()
|
.into_columns()
|
||||||
// Run the button as an an application.
|
// Run the button as an an application.
|
||||||
.run()
|
.run()
|
||||||
// end rustme snippet
|
// end rustme snippet
|
||||||
|
|
|
||||||
|
|
@ -1199,18 +1199,6 @@ impl Children {
|
||||||
self
|
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.
|
/// Returns the number of widgets in this list.
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn len(&self) -> usize {
|
pub fn len(&self) -> usize {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue