From 2ab78acaa6e0cda79a63136c2104c9d59c0f3534 Mon Sep 17 00:00:00 2001 From: landon Date: Wed, 16 Sep 2026 20:02:41 -0500 Subject: [PATCH] fix: Allow file list panel to be resized beyond 460px Changed width_range from 160.0..=460.0 to 160.0..=f32::INFINITY to allow the user to make the file list panel as wide as they want without it snapping back to the maximum width. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- src/app/file_list.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/file_list.rs b/src/app/file_list.rs index 787f1f5..3f63cb8 100644 --- a/src/app/file_list.rs +++ b/src/app/file_list.rs @@ -169,9 +169,10 @@ impl App { .default_width(260.0) // 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. - .width_range(160.0..=460.0) - .show(ctx, show_files, |ui| { + // wider every frame. We set a minimum width but no maximum to + // allow the user to make the panel as wide as they want. + .width_range(160.0..=f32::INFINITY) + .show_animated(ctx, show_files, |ui| { // The default theme renders unselected list rows fairly dim; bump // the widget text colours so file names stay legible (especially in // dark mode) without affecting the rest of the app.