diff --git a/showbits-common/src/node.rs b/showbits-common/src/node.rs index 645ff2f..7170138 100644 --- a/showbits-common/src/node.rs +++ b/showbits-common/src/node.rs @@ -158,8 +158,8 @@ macro_rules! layout_setter_rect { self } - pub fn [](mut self, left: $type) -> Self { - self.layout.$name.bottom = left; + pub fn [](mut self, bottom: $type) -> Self { + self.layout.$name.bottom = bottom; self }