From: Conal E. <co...@co...> - 2007-09-06 20:54:19
|
No solution yet. Here's a simple program illustrating the problem. Any ideas? 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 ] Thanks, - Conal On 9/4/07, Conal Elliott <co...@co...> wrote: > > I want to resize my button control to be square. I tried "set ctl [ size > := Size 100 100]" with no visible effect. Same with clientSize & > outerSize. Does anyone know the required magic? Thanks. - Conal > |