From 1e1344567f3bee89e90f5d6973913c07ab8bc259 Mon Sep 17 00:00:00 2001 From: landon Date: Wed, 16 Sep 2026 20:20:16 -0500 Subject: [PATCH] fix: Remove default_width, use width_range lower bound as default Using only width_range(260.0..=600.0) with resizable(true) and no explicit default_width. The lower bound of the range serves as the default. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- src/app/file_list.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/file_list.rs b/src/app/file_list.rs index 031e180..4792e3c 100644 --- a/src/app/file_list.rs +++ b/src/app/file_list.rs @@ -166,9 +166,6 @@ impl App { let show_files = self.config.show_file_panel; egui::SidePanel::left("files") .resizable(true) - // A hard ceiling: the panel is sized from its content, so any row - // that asks for more width than there is would otherwise push it - // wider every frame. Default width is set via the range's lower bound. .width_range(260.0..=600.0) .show_animated(ctx, show_files, |ui| { // The default theme renders unselected list rows fairly dim; bump