plushpuffin wrote: > > The top-left image is in the proper location, but the other three are > shifted down 29 pixels (they shouldn't be shifted down at all), which > makes no sense. > > http://www.nabble.com/file/p18116118/monodeveloptest1.png >
I think I've discovered the reason for this. It can't be coincidence that my menu strip is 29 pixels tall. It seems that, after drawing an image, the graphics library (or the Drawingarea widget itself) mistakenly adds the height of the menu strip a second time to the Drawingarea's y-offset. After drawing the NEXT image/polygon/line, however, it seems to recalculate and get the right y-offset again. I have no idea why it screws up or why it fixes itself afterward. If someone else can confirm that does seem to be a bug (and that it's not one of those "up late last night, eyes bloodshot, brain fried, ignoring something that's staring me right in the face" situations), then I'll go find out how to submit a bug report. -- View this message in context: http://www.nabble.com/Gtk.DotNet----System.Drawing----Images%2C-strange-behavior-tp18116118p18119843.html Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list