From ab40b6243008323104eff2d91299e68182a47bfd Mon Sep 17 00:00:00 2001 From: "j.foucher" Date: Sun, 3 May 2026 10:38:07 +0200 Subject: [PATCH] Layout : sidebar spans full window height, footer scoped to content column MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restructured the outer Grid to a proper 2×3 layout instead of stacked rows-with-margins : Outer Grid Col 0 (200) | Col 1 (*) Row 0 (Auto) ───── Top bar (ColSpan 2) ───── Row 1 (*) Sidebar | Content area (RowSpan 2) | (Library / Report / Doc) Row 2 (Auto) | Footer (only on Library) Previously the sidebar lived inside an inner body Grid limited to Row 1, and the footer was at outer Row 2 with a hand-crafted 200px left margin to fake the sidebar carve-out — which left a visible footer-background strip across the bottom and broke the visual continuity of the sidebar. Now : - Sidebar Grid.Row=1 + RowSpan=2 → reaches the bottom of the window regardless of footer visibility - Footer Grid.Row=2 + Grid.Column=1 → cleanly cantonné dans la colonne content, ne déborde plus - Top bar Grid.Row=0 + Grid.ColumnSpan=2 → toujours full width - Background image limitée à Row=1 + Col=1 → ne déborde ni sous la sidebar ni sous le footer Co-Authored-By: Claude Opus 4.7 (1M context) --- src/PSLauncher.App/Views/MainWindow.xaml | 141 +++++++++++++---------- 1 file changed, 77 insertions(+), 64 deletions(-) diff --git a/src/PSLauncher.App/Views/MainWindow.xaml b/src/PSLauncher.App/Views/MainWindow.xaml index a5e3e04..28a220e 100644 --- a/src/PSLauncher.App/Views/MainWindow.xaml +++ b/src/PSLauncher.App/Views/MainWindow.xaml @@ -173,19 +173,41 @@ + + + + + - - + + - - + @@ -316,20 +339,10 @@ - - - - - - - - - + + @@ -588,50 +601,50 @@ Visibility="{Binding HasDocumentationUrl, Converter={StaticResource InverseBoolToVisibility}}" /> - - - - - - - - - - - - + - - + + + + + + + + + + +