On Wed, 04 Mar 2009 23:53:39 +0100, Henk-Jan van Tuyl <hjgt...@chello.nl>  
wrote:

>
> L.S.,
>
> The attached program can display English and Dutch text, depending on the
> button pressed; the title switches as well. However, the static text in
> the window dissappears when I resize the window. Is this a bug in
> wxHaskell/wxWidgets?
>
> How can I create a proper wxHaskell GUI with selectable language?
>

I found a workaround, to restore text after resizing:

>   set f [ on resize :=
>             do
>               xs <- get st1 text
>               set st1 [ text := xs ]         ]

Another way would be, to use a fixed size frame; both methods are not  
really good, of course.

-- 
Regards,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to