Replace full
with size_full
(#7888)
This PR removes the `full` style method and replaces it with `size_full`, as the two do the same thing. This is the generated code for `size_full`: ```rs #[doc = "Sets the width and height of the element.\n\n100%"] fn size_full(mut self) -> Self { let style = self.style(); style.size.width = Some((gpui::relative(1.)).into()); style.size.height = Some((gpui::relative(1.)).into()); self } ``` Release Notes: - N/A
This commit is contained in:
parent
a161a7d0c9
commit
4310b0b8de
5 changed files with 7 additions and 14 deletions
|
@ -2036,7 +2036,7 @@ impl CollabPanel {
|
|||
fn render_signed_in(&mut self, cx: &mut ViewContext<Self>) -> Div {
|
||||
v_flex()
|
||||
.size_full()
|
||||
.child(list(self.list_state.clone()).full())
|
||||
.child(list(self.list_state.clone()).size_full())
|
||||
.child(
|
||||
v_flex()
|
||||
.child(div().mx_2().border_primary(cx).border_t())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue