Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

settings_ui: Add small UI adjustments (#41065)

Danilo Lealf11a3dcc9736
diff --git a/crates/settings_ui/src/settings_ui.rs b/crates/settings_ui/src/settings_ui.rs
index 2cf82d76dcb..d13370ed178 100644
--- a/crates/settings_ui/src/settings_ui.rs
+++ b/crates/settings_ui/src/settings_ui.rs
@@ -590,7 +590,7 @@ pub fn open_settings_editor(
cx.open_window(
WindowOptions {
titlebar: Some(TitlebarOptions {
- title: Some("Settings Window".into()),
+ title: Some("Zed — Settings".into()),
appears_transparent: true,
traffic_light_position: Some(point(px(12.0), px(12.0))),
}),
@@ -3068,6 +3068,9 @@ impl Render for SettingsWindow {
.font(ui_font)
.bg(cx.theme().colors().background)
.text_color(cx.theme().colors().text)
+ .when(!cfg!(target_os = "macos"), |this| {
+ this.border_t_1().border_color(cx.theme().colors().border)
+ })
.child(self.render_nav(window, cx))
.child(self.render_page(window, cx)),
),