sliderSetRange does change the bounds, but the screen space reserved for each bounds of the slider widget does not get increased, so when the bound gains another digit, the last digit is invisible until i manually resize the window.  i'm using this layout for each widget::

    boxed label $ hfill $ widget ctl

and this for putting the layouts together:

    set f [ layout := container p $ column 5 $ layouts ]

i thought maybe "dynamic" layout would get the bounds space re-adjusted.  when i apply it after "boxed label", i see no effect.  when i apply it after widget or after hfill, i don't get nearly enough width to see the widgets and much more height than i want.  i also tried combinations of "dynamic" in the widget layout *and* the frame layout, with no success.

any ideas?  is this a bug in "dynamic"?

Cheers,  - Conal

On 12/14/05, Conal Elliott <> wrote:
Thanks for the specific and general tips Arjan.  sliderSetRange did the trick!  - Conal

On 12/14/05, Arjan van IJzendoorn <> wrote:

On 14-dec-2005, at 8:53, Conal Elliott wrote:

> Is it possible to change the min & max values of a slider after
> creation?


    import Graphics.UI.WXCore

    sliderSetRange :: Slider a -> Int -> Int -> IO ()

Sometimes it is necessary to turn to WXCore functions because not
everything is available in the higher-level WX layer. The two *huge*
HTML pages come in handy then:

Good luck, Arjan

This email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
wxhaskell-users mailing list