On Wed, 04 Mar 2009 23:53:39 +0100, Henk-Jan van Tuyl <hj...@ch...>
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/
--
|