lepoco / lepoco/wpfui

Does WPF UI change the default GridSplitter behavior?

Open
#1,726 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

GridSplitter does not update Grid column sizes when dragged horizontally in WPF UI. Is this expected behavior or a style override?

To Reproduce
<Grid Margin="0,6,6,6">
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="200" />
        <ColumnDefinition Width="auto" />
        <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
<Border
    Grid.Column="0"
</Border>
    <GridSplitter Grid.Column="1" Width="1" />
<Border
    Grid.Column="2"
</Border>
</Grid>

Expected behavior

Expected behavior:
The GridSplitter should retain its default WPF behavior and correctly resize adjacent Grid columns when dragged horizontally.

Screenshots

No response

OS version

WIN11

.NET version

10

WPF-UI NuGet version

4.3.0

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the provided Grid and GridSplitter sample on Windows 11 with .NET 10 and WPF-UI 4.3.0. Compare the result with default WPF behavior and inspect the WPF-UI styling or control resources that apply to GridSplitter; done means adjacent columns resize horizontally as expected or the behavior is confirmed and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.