From: David R. <dr...@jd...> - 2003-11-29 14:56:21
|
I've gotten around to running my code using wxhaskell 0.4 on the mac. The refit function is definitely a nice addition, but I've run into difficulties again in not been able to figure out how to get my scrolled window working when it contains widgets (in a layout) that resize themselves and then call refit. When they do this, the scrolled window gets resized to be big enough to contain the widgets, and won't let the user make it any smaller. I'm not sure what the problem here is. The layout should be determining the virtualSize of the scrolled window, not its actual size as it seems to be doing. Is there some trick I need to know in order to get a scrolledWindow with scrollbars? With wxhaskell 0.3 I had a trick using windowSetSizeHints to set the size hints for the scrolledWindow to their defaults, but this doesn't seem to work if the children of the scrolled window call refit. :( Totally unrelated: It seems that wxhaskell doesn't compile with ghc 6.2 because parsec has moved into its own package. -- David Roundy http://www.abridgegame.org |