From: Conal E. <co...@co...> - 2007-09-07 17:17:18
|
Thanks, Mads. I guess it's another Windows problem then. Glad to know. = - Conal On 9/7/07, Mads Lindstr=F8m <mad...@ya...> wrote: > > Hi Conal > > Conal Elliott: > > import Graphics.UI.WX > > > > runUI1 :: IO () > > runUI1 =3D start $ > > do f <- frame [ ] > > pan <- panel f [] > > b <- button pan [ text :=3D "B!", size :=3D Size 50 50 ] > > set pan [ layout :=3D widget b ] > > set f [ layout :=3D 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=F8m > > |