Advice for setting Scrolling.HorizontalWidth

Topics: Developer Forum
Mar 5, 2009 at 7:34 PM
Edited Mar 5, 2009 at 7:46 PM
Any advice for trying to automatically set the width of the horizontal scroll bar when loading text into a scintillanet object?

I've noticed that if the Scrolling.HorizontalWidth is set to nothing but then you put the cursor on the longest line of the document and press the END key (moving the caret to the end of the longest line) the width of the scrollbar is set automatically to the right dimensions. Is there any way to do this without having to manually navigate to the line?

Edit: I've looked at this topic : http://scintillanet.codeplex.com/Thread/View.aspx?ThreadId=34376
I was looking for some pointers on how to adjust it myself.

Thanks &
Cheers,

Toby
Nov 13, 2013 at 1:17 PM
Edited Nov 13, 2013 at 1:17 PM