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

2012-03-18 Thread KeithBoynton
Interesting the offending control was the ToolStripContainer. I've removed that and it works just fine. Looks like the ToolStripContainer implementation is buggy. If I knew enough about the WinForms implementation on Mono I'd certainly try to help :p Thanks for the feedback guys! -- View this

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

2012-03-16 Thread Stifu
GTK# or MonoMac. Or help and fix WinForms. :p There was also a project to reimplement WinForms on Mac using MonoMac, but I don't know if it's still active. KeithBoynton wrote That's disappointing, the offending control looks to be the toolstrip so I guess I'll try and switch it for another

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