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: Shrink constraint on minimum window width (#60786)

Finn Eitreimc343997ca880
diff --git a/crates/settings_ui/src/settings_ui.rs b/crates/settings_ui/src/settings_ui.rs
index 35f816d649b..b3c0b5b337b 100644
--- a/crates/settings_ui/src/settings_ui.rs
+++ b/crates/settings_ui/src/settings_ui.rs
@@ -870,10 +870,7 @@ fn open_settings_editor_with(
app_id: Some(app_id.to_owned()),
window_decorations: Some(window_decorations),
window_min_size: Some(gpui::Size {
- // Don't make the settings window thinner than this,
- // otherwise, it gets unusable. Users with smaller res monitors
- // can customize the height, but not the width.
- width: px(900.0),
+ width: px(360.0),
height: px(240.0),
}),
window_bounds: Some(WindowBounds::centered(scaled_bounds, cx)),