Skip to content

style: fix visual inconsistencies between WorkingCopy and StashesPage - #2477

Merged
love-linger merged 1 commit into
sourcegit-scm:developfrom
JC-Chung:style/align-layout-between-working-copy-and-stashes
Jun 24, 2026
Merged

style: fix visual inconsistencies between WorkingCopy and StashesPage#2477
love-linger merged 1 commit into
sourcegit-scm:developfrom
JC-Chung:style/align-layout-between-working-copy-and-stashes

Conversation

@JC-Chung

Copy link
Copy Markdown
Contributor

Summary

Fix visual inconsistencies between WorkingCopy and StashesPage left panel toolbars.

Changes

  1. WorkingCopy.axaml: Reduce GridSplitter column width from 5 to 4 to match
    all other views in the codebase.

  2. WorkingCopy.axaml: Reduce Staged toolbar row height from 28 to 27.
    The GridSplitter occupies a separate Height="1" row above the Staged section,
    making the effective visual height 29px (1 + 28). Reducing to 27 aligns it with
    the Changes Bar in StashesPage (28px row with top border included).

  3. StashesPage.axaml: Update ChangeViewModeSwitcher attributes to match
    the Staged toolbar in WorkingCopy (Width="26", Margin="0,1,0,0").

Before / After

Before After
LOCAL CHANGES before after
STASHES before after

Light theme is used in the screenshots to make the differences more visible.

@JC-Chung
JC-Chung force-pushed the style/align-layout-between-working-copy-and-stashes branch from ce95b86 to 227bf62 Compare June 24, 2026 05:09
@love-linger
love-linger merged commit e9e2be1 into sourcegit-scm:develop Jun 24, 2026
14 checks passed
@love-linger love-linger self-assigned this Jun 24, 2026
@love-linger love-linger added the enhancement New feature or request label Jun 24, 2026
@JC-Chung
JC-Chung deleted the style/align-layout-between-working-copy-and-stashes branch June 24, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

2 participants