From: Martin O. <re...@mn...> - 2003-11-30 21:31:15
|
Okay, I've tried both your trick and the other which was posted by Arjan. Thanks for the help, I really appreciate it! :-) Both tricks works perfectly, however the program launch still looks a bit nasty because the main window always starts up with a default width/height and the resizes to whatever I specified. This happens even though I use: f <- frameFixed [text := "Hello", clientSize := size 100 100] Is there a known work-around for this problem? Also, there is another issue which I'm abit worried about, the executable generated by GHC is 6.42 megs. Perhaps it's just me, but it's that alot for a program which just creates a window with title "hello" ?! Can I fix this without having to force the end-user to install some DLLs etc? Regards, /m At 12:24 2003-11-30, 72...@in... wrote: >Hi Martin. This is a more general GHC's issue you can fix linking with the >-optl-mwindows flag. (ref. chapter 11.2 in the GHC User's guide). |