I found out just last week about the "secret" to properly size controls. Some specific sizing problems can be Mono bugs, though, but I guess what you need is: http://mono-project.com/FAQ:_Winforms Top thing on that page. It's a font-related issue, and doesn't just affect Mono or Linux, but any configuration that doesn't have the expected font. As for me, it wasn't "AutoScaleBaseSize" (unlike what's said on the page) but:
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; I removed those lines, and the problem was gone. Basically, just look for "AutoScale" in your Form file(s). Redraw problems are most likely Mono bugs, which should be reported. That said, if you have the Mono version shipped by default with Ubuntu, ie: 1.9.1, you're bound to encounter bugs that have already been fixed. Being not particularly attached to Ubuntu myself, I actually moved from Ubuntu to openSUSE 2 days ago, and am happy I made that move. Installing Mono 2.2 was easy, and I have up-to-date software by default (such as OpenOffice 3.0 rather than 2.4, and so on). That said, if you're not as lazy as me, you can also install/compile the latest Mono on Ubuntu yourself. W Allan Edwards wrote: > > > What is the secret to allowing a winforms app to properly size dialogs and > controls when run on KDE/Gnome on Ubuntu Linux? > > Also, some redraw probelms appear to be occuring. Not all of the windows > being shown on the Linux Desktop are drawing completly. Pieces of them > are missing. If you resize a window it will redraw them properly. > > Allan > > -- View this message in context: http://www.nabble.com/Winforms-on-KDE-Ubuntu-8.10-tp22008284p22009979.html Sent from the Mono - WinForms mailing list archive at Nabble.com. _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list