lepoco / lepoco/wpfui

Scrollbar / track is too narrow/small and should have a minimum height/width

Open
#1,375 3 comments 2 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

When presenting a list of ~4000 elements, the scrollbar becomes a tiny dot which can be quite hard to handle for some people.

The width of the vertical scrollbar is also very narrow, making scroll-life harder than it should.

Image

May i suggest a few improvements :

  1. Either a thicker default setting, or a global setting for scrollbar sizing: narrow, medium, thick

  2. Minimum height on vertical scrollbars and minimum width on horizontal scrollbars, of around 30px, which would improve ability to see and grab the scrollbar "track".

For touchscreens , you barely need a scrollbar, but for desktop they are quite useful.

Relying solely on mouse scroll wheel is not an option.

NB: I've filed this a bug, because the sizing of the scrollbar is too small to easily grab and use. If you consider this as a feature request then please just move the issue to feature requests.

thanks :)

To Reproduce

Display a very wide or very tall element inside a scrollviewer.

Expected behavior

Scrollviewer should be just bit larger.

Screenshots

Image

OS version

Windows 11

.NET version

.NET 9

WPF-UI NuGet version

4.0.2

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

Start with the WPF ScrollViewer behavior described in the issue and inspect how WPF-UI styles its scrollbar dimensions. Compare the result with the supplied Windows 11 example, then define and verify minimum scrollbar sizing and any settings against the reported tall and wide content cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
accessibility, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.