Update Zed UI for 0.2 release

* changes to padding, spacings and borders
* Fix incorrect borders on titlebar and sidebars
* QA pass on all themes, base font size -> 15
* Changed the max size of the file_finder
* Hid file_finder icons
* Modified the size of tab status indicators
* Made the default sidebar size bigger
This commit is contained in:
Nate
2021-09-07 20:02:27 -04:00
parent 08bac7b9a3
commit 4cdca65fc0
7 changed files with 46 additions and 46 deletions
+15 -15
View File
@@ -97,8 +97,8 @@ impl View for FileFinder {
.with_style(&settings.theme.selector.container)
.boxed(),
)
.with_max_width(600.0)
.with_max_height(400.0)
.with_max_width(500.0)
.with_max_height(420.0)
.boxed(),
)
.top()
@@ -167,19 +167,19 @@ impl FileFinder {
self.labels_for_match(path_match);
let container = Container::new(
Flex::row()
.with_child(
Container::new(
LineBox::new(
Svg::new("icons/file-16.svg")
.with_color(style.label.text.color)
.boxed(),
style.label.text.clone(),
)
.boxed(),
)
.with_padding_right(6.0)
.boxed(),
)
// .with_child(
// Container::new(
// LineBox::new(
// Svg::new("icons/file-16.svg")
// .with_color(style.label.text.color)
// .boxed(),
// style.label.text.clone(),
// )
// .boxed(),
// )
// .with_padding_right(6.0)
// .boxed(),
// )
.with_child(
Flexible::new(
1.0,
+1 -1
View File
@@ -216,7 +216,7 @@ impl Pane {
Flex::row()
.with_child(
Align::new({
let diameter = 6.0;
let diameter = 7.0;
let icon_color = if item.has_conflict(cx) {
Some(style.icon_conflict)
} else if item.is_dirty(cx) {
+1 -1
View File
@@ -37,7 +37,7 @@ impl Sidebar {
side,
items: Default::default(),
active_item_ix: None,
width: Rc::new(RefCell::new(220.)),
width: Rc::new(RefCell::new(260.)),
}
}