microsoft / WinUI-Gallery

This app demonstrates the controls available in WinUI and the Fluent Design System.
MIT License
2.84k stars 636 forks source link

AnnotatedScrollBar thumb has narrow range of movement #1613

Closed hyam1567 closed 3 months ago

hyam1567 commented 3 months ago

Which version of the app?

WinUI 3 Gallery

Description

Problem with AnnotatedScrollBar page in WinUI 3 Gallery. When I try to move the thumb down, it doesn't move to the bottom position.

Screenshots

AnnotatedScrollBar thumb has narrow range of movement

Windows version

Windows 11 22H2 (22621)

Additional context

No response

ojhad commented 3 months ago

This is by design. The gap represents the viewport height. This is important for scenarios where the AnnotatedScrollbar needs to display labels for content that is located somewhere past the point where scrolling ends. As an example, if in your screenshot above, the last 3 rows were Green, the 'Green' label would be displayed in the gap.

hyam1567 commented 3 months ago

I see. But it seems unnatural. I think it would be improved if the thumb had a length like a normal scrollbar.