untitled (shoot cant figure out layout issue…)

Posted on 10 January 2006
Tags:

Shoot - can't figure out layout issue. Minimal example of why Whatsnew's flexible guipatch widget doesn't work. WF response from wxhaskell mailing list
module Main where 
import Graphics.UI.WX

main = start $
do f <- frame [text := "Layout testing"]
st <- staticText f [ text := "no" ]
set st [ on click := \_ -> set st [ text := "yes\nyes" ] ]
set f [ layout := widget st ]

Navigation

Comments