FukYouAll
FukYouAll

Reputation: 111

Edit the width/height in scrollbars in a template WPF

I'm trying to edit the width (in vertical scroll) and height (in horizontal scroll) in a ScrollViewer template in WPF, I want to reduce them to 12 px but the value goes stuck in 17 px and I can't decrease it, why? I've tried everything but the result got damaged (the corner doesn't dissapear when needed, the ScrollBars get a strange design, etc.)

The value is stuck in 17, it allows to increase, but not decrease

The value is stuck in 17, it allows to increase, but not decrease

Upvotes: 3

Views: 2365

Answers (1)

Nitesh
Nitesh

Reputation: 7409

Set MinWidth="10" for Vertical ScrollBar and MinHeight="10" for Horizontal ScrollBar, or whatever value you want for scroll bars in ScrollViewer Template.

Upvotes: 4

Related Questions