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 <[EMAIL PROTECTED]> 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
>
-------------------------------------------------------------------------
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

Reply via email to