Hi,

I just coded that for my mod. The only workaround I found was to multiply by
10 the range (so, to go from 0 to 255 the range would be 0 to 2550). Then,
the slider was right and its size was fine.

For any other question about this scrollbar, feel free to mail me, I should
be able to answer you ;)

      - Cortex : HL ALBATOR coder & mapper
      - [EMAIL PROTECTED] & ICQ : 71548738

[LMS]007 wrote:
> I'm trying to make he scroll bar work independently of ScrollPanel. I
> just want a little slider bar to handle some client variables which
> relate to color! So in theory ill have the scroll bar inclement or
> decrement some hex valve or something like that. Problem is i can't
> get the slider bar to scale. So scarily i want a scroll bar to have
> high range with a very small slider bar (16 pixels or something). But
> the slider seems to be hardcoded, or rather the range seems to be
> hardcoded even tho I change all the ranges. There is a ctor to create
> and change the slider size and it does not seem to work for me. I
> think I have tried almost every function in the ScrollBar class and
> SliderBar class with no luck. The only thing i managed to do was
> change the tga for the buttons, lol.
>
> Anyway help is always appreciated!
> thx
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to