OK, after hours of fighting with this, I have a solution!!!

The custom skins don't seem to support x/y placement that is not whole
integers very well.  In other words, I noticed that my calculated x/y
position for my PopUp that contained my custom scrollbar was using
decimal values.  I also noticed that if I let the CenterPopUp method
position the PopUp nothing was wrong.  The only difference in my code
and theirs was that they were calling Math.round on their X and Y
before moving the popup.  I rounded my X and Y and this problem went
away.  Hallelujah!!!

Hope this post saves someone else some frustration!

Gary 


--- In [email protected], "gary_mangum" <[EMAIL PROTECTED]> wrote:
>
> I have a custom skinned Scrollbar on a list in a popup.  If I simply
> launch the popup at it's default position, the scrollbar looks great.
>  If I launch the popup and then call move() to position it where I
> want it, the scrollbar looks like it is shifted funny and has
> left-over remnants or something...very strange behavior.
> 
> I have also noticed that if I change the verticalScrollbarPolicy to be
> "on" it will also affect the way the scrollbar is displayed...in this
> case the up and down arrows get squished to a size smaller than they
> are supposed to be.
> 
> Gary
>


Reply via email to