I later figured out it's not the problem of wxHaskell, but rather
wxMac itself. The problem is with non-wrapping TextCtrl. I am getting
the same result with cpp programs if I set the wxTE_DONTWRAP style. I
think I should report this bug upstream to wxWidgets. Anyway, here is
the code if anyone wants to try it on other platforms. Thank you.
module Main where
main :: IO ()
main = do start demo
demo :: IO ()
do f <- frame [text := "Hello World"]
t <- textCtrl f [wrap := WrapNone, font := fontFixed
set f [layout := fill $ widget t,
outerSize := sz 600 400]
On Nov 29, 2005, at 1:54 AM, Arjan van IJzendoorn wrote:
> Hi Deling,
> > I am wondering if anyone is on the same boat
>> and if so do you have any solution?
> Could you please send the source code? I can then check whether the
> same happens on Windows.
> Regards, Arjan