well the issue was that the graphic that the designer provided was not meant
to be scaled and the scroll bar would be used across most the app but not
the entire app. most of it are panels and canvases.

I started to extend upon the programmaticSkin class to swap out the image
and set the height/width but I really don' have the time to fight with
getting a bitmap to display in something I've never extended(I believe that
particular class only lets you create code based skins... though not to
sure).

thx!


On Mon, Apr 28, 2008 at 1:47 PM, gabriel montagné <
[EMAIL PROTECTED]> wrote:

>   Hey Bob,
>
> On Mon, Apr 28, 2008 at 11:19 AM, Bob Wohl <[EMAIL 
> PROTECTED]<bob.wohl%40gmail.com>>
> wrote:
> > [...] Ah well, I talked the designer into
>
> > redesigning it. I wish I had the time on this project to just roll my
> own.
> >
> Do you need this scrollbar to be used on many different components? I
> mean, does this scrollbar appears in lists, combo boxes, canvases,
> etc. or is it just for a particular component or set of components?
>
> Because you can always extend (not hack) scrollbar, override that
> setScrollProperties and use that for that particular component you're
> working on. Remember that you can set the horizontal (or vertical)
> ScrollBar property on canvases and the like to your own external
> subclass.
>
> If you don't need to monkey patch the scroll for everything, you can
> use your own subclasses of scroll bar NP.
>
> --
> gabriel montagné láscaris comneno
> http://rojored.com
> t/506.8392.2040
>  
>

Reply via email to