mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 03:26:40 +03:00
buffer: finish up moving things around
This commit is contained in:
parent
e1724daf35
commit
b282bdfe5a
@ -211,14 +211,17 @@ impl View for BufferSearchBar {
|
||||
))
|
||||
.aligned()
|
||||
.left()
|
||||
.top(),
|
||||
.top()
|
||||
.flex(1., true)
|
||||
.constrained(),
|
||||
)
|
||||
.contained()
|
||||
.flex(1., true),
|
||||
.contained(),
|
||||
)
|
||||
.with_child(
|
||||
Flex::row()
|
||||
Flex::column()
|
||||
.align_children_center()
|
||||
.with_child(
|
||||
Flex::row()
|
||||
.with_child(
|
||||
Flex::row()
|
||||
.with_child(
|
||||
@ -242,6 +245,7 @@ impl View for BufferSearchBar {
|
||||
.contained()
|
||||
.with_style(editor_container)
|
||||
.aligned()
|
||||
.top()
|
||||
.constrained()
|
||||
.with_min_width(theme.search.editor.min_width)
|
||||
.with_max_width(theme.search.editor.max_width)
|
||||
@ -254,6 +258,11 @@ impl View for BufferSearchBar {
|
||||
)
|
||||
.flex(1., false),
|
||||
)
|
||||
.contained()
|
||||
.aligned()
|
||||
.top()
|
||||
.flex(1., false),
|
||||
)
|
||||
.with_child(
|
||||
Flex::column().with_child(
|
||||
Flex::row()
|
||||
@ -275,6 +284,7 @@ impl View for BufferSearchBar {
|
||||
)
|
||||
.contained()
|
||||
.with_style(theme.search.container)
|
||||
.flex_float()
|
||||
.into_any_named("search bar")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user