Add bottom margin to the outline view
This commit is contained in:
parent
5de5e4b6f2
commit
dd8e5ee543
3 changed files with 18 additions and 19 deletions
|
@ -52,6 +52,11 @@ impl Container {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn with_margin_bottom(mut self, margin: f32) -> Self {
|
||||
self.style.margin.bottom = margin;
|
||||
self
|
||||
}
|
||||
|
||||
pub fn with_margin_left(mut self, margin: f32) -> Self {
|
||||
self.style.margin.left = margin;
|
||||
self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue