Hi Conal Conal Elliott: > import Graphics.UI.WX > > runUI1 :: IO () > runUI1 = start $ > do f <- frame [ ] > pan <- panel f [] > b <- button pan [ text := "B!", size := Size 50 50 ] > set pan [ layout := widget b ] > set f [ layout := widget pan ]
On my computer it is square. I am running Debian Linux with gtk as a backend. Maybe it has something to do with your backend or WxHaskell's binding to the backend. I also tried with size (150,150) and still square (but bigger). I tried with (450,150) and it was not square (as expected). Greetings, Mads Lindstrøm ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wxhaskell-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
