Rename h_stack
and v_stack
to h_flex
and v_flex
, respectively (#4053)
This PR renames the `h_stack` and `v_stack` to `h_flex` and `v_flex`, respectively. We were previously using `h_stack` and `v_stack` to match SwiftUI, but `h_flex` and `v_flex` fit better with the web/flexbox terminology that the rest of GPUI uses. Additionally, we were already calling the utility functions used to implement `h_stack` and `v_stack` by the new names. Release Notes: - N/A
This commit is contained in:
parent
b136d21ebf
commit
90f4c70a82
69 changed files with 271 additions and 271 deletions
|
@ -135,7 +135,7 @@ impl RenderOnce for Tab {
|
|||
})
|
||||
.cursor_pointer()
|
||||
.child(
|
||||
h_stack()
|
||||
h_flex()
|
||||
.group("")
|
||||
.relative()
|
||||
.h_full()
|
||||
|
@ -145,7 +145,7 @@ impl RenderOnce for Tab {
|
|||
// .hover(|style| style.bg(tab_hover_bg))
|
||||
// .active(|style| style.bg(tab_active_bg))
|
||||
.child(
|
||||
h_stack()
|
||||
h_flex()
|
||||
.w_3()
|
||||
.h_3()
|
||||
.justify_center()
|
||||
|
@ -157,7 +157,7 @@ impl RenderOnce for Tab {
|
|||
.children(self.start_slot),
|
||||
)
|
||||
.child(
|
||||
h_stack()
|
||||
h_flex()
|
||||
.w_3()
|
||||
.h_3()
|
||||
.justify_center()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue