Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug ScrollViewer inserting margins and throwing off formatting
2 replies. Latest Post by jpsscott on October 9, 2008.
(0)
jpsscott
Member
51 points
84 Posts
10-07-2008 3:33 PM |
I have a few ScrollViewers in a Grid control and the ScrollViewers have some scrollable content inside them.
In Beta 2 everything looked fine.
I upgrade to RC0 and all of a sudden ScrollViewers have a margin of some type on them that misaligns my content. Worst still the scrollbars themself seem to be cut off by a couple of pixels.
I tried setting margins to ScrollViewer control itself but this didn't work.
How can I control this? Do I have to worry about this in RTM?
Thanks for any advice,
James
StefanOlson
232 points
111 Posts
10-08-2008 11:10 PM |
You can set the padding to control the margins inside the ScrollViewer. you can also control the width of the border on the ScrollViewer. Here's what I do to make it appear with no margins and no border:
<
...Stefan
10-09-2008 7:24 AM |
Yes, that definitely does the trick!