From: Mads <mad...@ya...> - 2007-09-07 15:42:46
|
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 |