mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Remove flex from underneath the pickers
This commit is contained in:
parent
026ad191eb
commit
4eedc3e646
@ -377,8 +377,8 @@ impl CollabTitlebarItem {
|
|||||||
let theme = theme::current(cx).clone();
|
let theme = theme::current(cx).clone();
|
||||||
let child = ChildView::new(child, cx);
|
let child = ChildView::new(child, cx);
|
||||||
let child = MouseEventHandler::<BranchList, Self>::new(0, cx, |_, _| {
|
let child = MouseEventHandler::<BranchList, Self>::new(0, cx, |_, _| {
|
||||||
Flex::column()
|
child
|
||||||
.with_child(child.flex(1., true))
|
.flex(1., true)
|
||||||
.contained()
|
.contained()
|
||||||
.constrained()
|
.constrained()
|
||||||
.with_width(theme.contacts_popover.width)
|
.with_width(theme.contacts_popover.width)
|
||||||
@ -390,6 +390,7 @@ impl CollabTitlebarItem {
|
|||||||
cx.emit(());
|
cx.emit(());
|
||||||
cx.notify();
|
cx.notify();
|
||||||
})
|
})
|
||||||
|
.contained()
|
||||||
.into_any();
|
.into_any();
|
||||||
|
|
||||||
Overlay::new(child)
|
Overlay::new(child)
|
||||||
@ -411,8 +412,8 @@ impl CollabTitlebarItem {
|
|||||||
let theme = theme::current(cx).clone();
|
let theme = theme::current(cx).clone();
|
||||||
let child = ChildView::new(child, cx);
|
let child = ChildView::new(child, cx);
|
||||||
let child = MouseEventHandler::<RecentProjects, Self>::new(0, cx, |_, _| {
|
let child = MouseEventHandler::<RecentProjects, Self>::new(0, cx, |_, _| {
|
||||||
Flex::column()
|
child
|
||||||
.with_child(child.flex(1., true))
|
.flex(1., true)
|
||||||
.contained()
|
.contained()
|
||||||
.constrained()
|
.constrained()
|
||||||
.with_width(theme.contacts_popover.width)
|
.with_width(theme.contacts_popover.width)
|
||||||
|
Loading…
Reference in New Issue
Block a user