Finish up touchups for search UI.

Co-authored-by: Nate <nate@zed.dev>
This commit is contained in:
Piotr Osiewicz 2023-11-14 18:18:52 +01:00
parent 08dde94299
commit c14efb74d7
3 changed files with 46 additions and 23 deletions

View file

@ -3,6 +3,7 @@ use gpui::{
div, AnyView, Component, Div, Entity, EntityId, EventEmitter, ParentElement, Render, Styled,
View, ViewContext, WindowContext,
};
use theme2::ActiveTheme;
use ui::{h_stack, v_stack, Button, Icon, IconButton, Label, LabelColor, StyledExt};
pub enum ToolbarItemEvent {
@ -81,6 +82,8 @@ impl Render for Toolbar {
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
//dbg!(&self.items.len());
v_stack()
.border_b()
.border_color(cx.theme().colors().border)
.child(
h_stack()
.justify_between()