[Mono-winforms-list] Scrollbar widths

Jordi Mas jordi at ximian.com
Mon Sep 19 16:52:13 EDT 2005

> First of all thanks for your work on SWF. I've been playing with it for 
> a few days and it's very impressive.

Thanks Chris.

> When writing a SWF app how wide should I make the scrollbars? I can't 
> find any kind of variable in the namespace that says how wide the user 
> wants their scrollbars. This can't be hardcoded of course, as it's a 
> user accessible variable in Windows.
> How is SWF itself deciding how wide to make its scrollbars for controls 
> such as TextBox?

In the MS .Net implementation the default value returned by
SystemInformation class is used. In our implementation, we are currently
pulling this value from the Theme class. 

You can change the size of a scrollbar using the Height, Width and Size


Jordi Mas i Hernàndez - Mono development team - http://www.mono-project.com
Homepage and LiveJournal at http://www.softcatala.org/~jmas

More information about the Mono-winforms-list mailing list