From: Kennis K. <kol...@cl...> - 2003-10-28 22:27:46
|
My attachments were apparently too large (70 KB) to send to the mailing list, so I've attached them as a compressed tar file, checkbox.tar.gz (16 KB). - Kennis ----- On Tuesday, Oct 28, 2003, at 15:34, Kennis Koldewyn wrote ----- I'm using wxHaskell 0.3, along with wxWindows 2.4.2 and GHC 6.0.1 on Mac OS 10.2.8 and Windows 2000 SP4. Under both operating systems, checkbox controls are automatically sized with a width nearly three times longer than they should be. The following code (also attached as the file checkbox.hs) demonstrates the problem, and the attached screenshots (checkbox-mac.pdf and checkbox-win.pdf) show what the results are on my systems: > module Main where > > import Graphics.UI.WX > > main :: IO () > main > = start > $ do f <- frame [text := "Checkbox Test"] > c <- checkBox f [text := "See the space -->"] > t <- staticText f [text := "<-- between the arrows?"] > set f [layout := margin 10 $ row 0 [widget c, widget t]] I've also submitted this bug to the wxHaskell project on SourceForge. Any workarounds/fixes would be much appreciated. Thanks, - Kennis ----- Kennis Koldewyn (kol...@cl...) ----- Without computers, it would be virtually impossible for us to accompliowur xow;gkc,mf(&( - Dave Barry ----- End ----- |