Rename Layer parts
This commit is contained in:
parent
95a01d5fc8
commit
f25ce49e77
2 changed files with 18 additions and 18 deletions
|
|
@ -49,12 +49,12 @@ pub trait WidgetExt: Sized {
|
|||
Float::new(self)
|
||||
}
|
||||
|
||||
fn below<W>(self, top: W) -> Layer<Self, W> {
|
||||
Layer::new(self, top)
|
||||
fn below<W>(self, above: W) -> Layer<Self, W> {
|
||||
Layer::new(self, above)
|
||||
}
|
||||
|
||||
fn above<W>(self, bottom: W) -> Layer<W, Self> {
|
||||
Layer::new(bottom, self)
|
||||
fn above<W>(self, below: W) -> Layer<W, Self> {
|
||||
Layer::new(below, self)
|
||||
}
|
||||
|
||||
fn padding(self) -> Padding<Self> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue