Skip to content

fix(controls): Fix UiScrollBarThumb not centered (ScrollBar.xaml)#1669

Open
Alex4SSB wants to merge 1 commit intolepoco:mainfrom
Alex4SSB:ScrollBar
Open

fix(controls): Fix UiScrollBarThumb not centered (ScrollBar.xaml)#1669
Alex4SSB wants to merge 1 commit intolepoco:mainfrom
Alex4SSB:ScrollBar

Conversation

@Alex4SSB
Copy link
Contributor

@Alex4SSB Alex4SSB commented Mar 6, 2026

SnapsToDevicePixels="True" on UiScrollBarThumb style of the Scrollbar thumb causes the thumb to not be centered in the scrollbar on some DPI settings / resolutions

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

image

What is the new behavior?

image

@Alex4SSB Alex4SSB requested a review from pomianowski as a code owner March 6, 2026 18:27
@github-actions github-actions bot added controls Changes to the appearance or logic of custom controls. styles Topic is related to styles PR Pull request release labels Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls Changes to the appearance or logic of custom controls. PR Pull request release styles Topic is related to styles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant