[Mono-winforms-list] GDI+ status: InvalidParameter from LinearGradientBrush

2012-03-15 Thread KeithBoynton
I'm receiving this error when trying to run an application on OS-X under Mono which is being ported from Windows. Obviously the application runs fine in Windows. I've pulled across the .sln and all class files etc. from the Visual Studio 2010 project into my MonoDevelop environment in OS-X Lion.

Re: [Mono-winforms-list] GDI+ status: InvalidParameter from LinearGradientBrush

2012-03-15 Thread Stifu
Sadly, GDI+ and WinForms are simply buggy, especially on Mac. If you've got an X11 server installed, you could try running your application this way: MONO_MWF_MAC_FORCE_X11=1 mono yourapp.exe This will give better results. KeithBoynton wrote > > I'm receiving this error when trying to run an a