From e0c7f0cfbf87d180c6a1b93ccfce02cdb0ce780e Mon Sep 17 00:00:00 2001 From: Jeremy Wootten Date: Thu, 27 Aug 2026 12:25:52 +0100 Subject: [PATCH] Better behaviour with small window --- src/View/DetailsColumn.vala | 2 +- src/View/Miller.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/View/DetailsColumn.vala b/src/View/DetailsColumn.vala index e686c11afd..72abc04f2a 100644 --- a/src/View/DetailsColumn.vala +++ b/src/View/DetailsColumn.vala @@ -246,7 +246,7 @@ public class Files.View.DetailsColumn : Gtk.Bin { var scrolled = new Gtk.ScrolledWindow (null, null) { child = box, propagate_natural_height = true, - hscrollbar_policy = NEVER + hscrollbar_policy = AUTOMATIC }; child = scrolled; diff --git a/src/View/Miller.vala b/src/View/Miller.vala index 63105d27eb..eb4f7a003e 100644 --- a/src/View/Miller.vala +++ b/src/View/Miller.vala @@ -157,7 +157,7 @@ namespace Files.View { draw_file_details_timeout_id = Timeout.add (200, () => { draw_file_details_timeout_id = 0; details = new View.DetailsColumn (file, view); - add_side_widget (details, false, true); // Shrink but not resize + add_side_widget (details, true, false); // Resize (expand) but not shrink // Preview pane not part of slot list so no need to update width // but need to scroll according to new available space schedule_scroll_to_slot (last_slot, true);