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 th=
e
window. i'm using this layout for each widget::
boxed label $ hfill $ widget ctl
and this for putting the layouts together:
set f [ layout :=3D 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 afte=
r
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" i=
n
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 <co...@co...> wrote:
>
> Thanks for the specific and general tips Arjan. sliderSetRange did the
> trick! - Conal
>
> On 12/14/05, Arjan van IJzendoorn < af...@cs...> 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?
> >
> > Maybe
> >
> > import Graphics.UI.WXCore
> >
> > sliderSetRange :: Slider a -> Int -> Int -> IO ()
> >
> > works.
> > 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:
> >
> > http://wxhaskell.sourceforge.net/doc/
> > Graphics.UI.WXCore.WxcClassesAL.html
> > http://wxhaskell.sourceforge.net/doc/
> > Graphics.UI.WXCore.WxcClassesMZ.html
> >
> > Good luck, Arjan
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net 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!
> > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
> > _______________________________________________
> > wxhaskell-users mailing list
> > wxh...@li...
> > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
> >
>
>
|