Skip to content

Commit c36b12f

Browse files
authored
settings_ui: Pick a more reasonable minimum window size (zed-industries#43556)
Closes zed-industries#41903 Release Notes: - Fixed settings ui being forced larger than small screens
1 parent 7c724c0 commit c36b12f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/settings_ui/src/settings_ui.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,10 @@ pub fn open_settings_editor(
607607
window_background: cx.theme().window_background_appearance(),
608608
app_id: Some(app_id.to_owned()),
609609
window_decorations: Some(window_decorations),
610-
window_min_size: Some(scaled_bounds),
610+
window_min_size: Some(gpui::Size {
611+
width: px(360.0),
612+
height: px(240.0),
613+
}),
611614
window_bounds: Some(WindowBounds::centered(scaled_bounds, cx)),
612615
..Default::default()
613616
},

0 commit comments

Comments
 (0)