Allow flex items to float to the end of the flex axis
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
621e67bca7
commit
0453dd1101
16 changed files with 138 additions and 104 deletions
|
@ -138,7 +138,7 @@ impl Sidebar {
|
|||
let width = self.width.clone();
|
||||
move |size, _| *width.borrow_mut() = size.x()
|
||||
})
|
||||
.flexible(1., false)
|
||||
.flex(1., false)
|
||||
.boxed(),
|
||||
);
|
||||
if matches!(self.side, Side::Left) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue