From 85349ce475a15ab94b99082a7e973c3b9fd5f507 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 17 Feb 2025 21:47:28 +0300 Subject: Fix expand-column-to-available-width for always-center --- src/layout/scrolling.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs index 417def6a..55acd53b 100644 --- a/src/layout/scrolling.rs +++ b/src/layout/scrolling.rs @@ -2541,7 +2541,7 @@ impl ScrollingSpace { // on screen while taking into account that the active column will remain centered // after resizing. But I'm not sure it's that useful? So let's do the simple thing. let col = &mut self.columns[self.active_column_idx]; - col.set_column_width(SizeChange::SetProportion(1.), None, true); + col.toggle_full_width(); cancel_resize_for_column(&mut self.interactive_resize, col); return; } -- cgit