From: Bernie P. <bj...@cs...> - 2004-10-25 07:37:10
|
On Fri, Oct 22, 2004 at 01:28:14PM +0200, Daan Leijen wrote: > Bernie Pope wrote: > > - When you recompile the program and run it for the first time > > it doesn't get the size of the first window right (its too big). > > > > Then when you run it again (and again ...) the window sizing > > is right. > > > > > This is a known problem. I think you can solve it by creating the frame with > a "visible := False" property, and setting it to true after setting the > layout. Yes, that fixes the problem. Thanks. > > - I can't seem to get transparent bitmaps working properly > > using drawBitmap > Can you send me the .png file? I'll send one to you in another mail (not to the list). > All the best, > Daan Leijen. > ps. Have you looked at the latest direct pixel buffer functions in > WXCore.Image? The lastest cvs version contains functions to > transform "Array Point Color" arrays into images and bitmaps > (but than you need to build wxHaskell yourself) I haven't looked. Sounds useful though. I'll probably wait until the next stable realease before I try it. Cheers, Bernie. |