Get the chat panel wired up again

This commit is contained in:
Max Brunsfeld
2023-12-08 12:31:07 -08:00
parent 213ed2028c
commit c7d8169cab
6 changed files with 211 additions and 226 deletions
+4 -6
View File
@@ -1,12 +1,10 @@
use std::any::TypeId;
use crate::{ItemHandle, Pane};
use gpui::{
div, AnyView, Div, IntoElement, ParentElement, Render, Styled, Subscription, View, ViewContext,
WindowContext,
};
use ui::h_stack;
use ui::prelude::*;
use std::any::TypeId;
use ui::{h_stack, prelude::*};
use util::ResultExt;
pub trait StatusItemView: Render {
@@ -47,8 +45,8 @@ impl Render for StatusBar {
.w_full()
.h_8()
.bg(cx.theme().colors().status_bar_background)
.child(h_stack().gap_1().child(self.render_left_tools(cx)))
.child(h_stack().gap_4().child(self.render_right_tools(cx)))
.child(self.render_left_tools(cx))
.child(self.render_right_tools(cx))
}
}