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:
+15
-15
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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.)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user