From 92cc2b89f75fd13d83208626fa49724216fbbf9e Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 17 Feb 2025 21:22:10 +0300 Subject: Implement expand-column-to-available-width --- src/layout/tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/layout/tests.rs') diff --git a/src/layout/tests.rs b/src/layout/tests.rs index 813f4765..9d3e8634 100644 --- a/src/layout/tests.rs +++ b/src/layout/tests.rs @@ -496,6 +496,7 @@ enum Op { #[proptest(strategy = "proptest::option::of(1..=5usize)")] id: Option, }, + ExpandColumnToAvailableWidth, ToggleWindowFloating { #[proptest(strategy = "proptest::option::of(1..=5usize)")] id: Option, @@ -1133,6 +1134,7 @@ impl Op { let id = id.filter(|id| layout.has_window(id)); layout.reset_window_height(id.as_ref()); } + Op::ExpandColumnToAvailableWidth => layout.expand_column_to_available_width(), Op::ToggleWindowFloating { id } => { let id = id.filter(|id| layout.has_window(id)); layout.toggle_window_floating(id.as_ref()); -- cgit