private static void AdjustVerticalScrollbar(UIScrollbar verticalScrollbar, UIComponent tabPanel, UIScrollablePanel scrollablePanel)
        {
            verticalScrollbar.width       = 20f;
            verticalScrollbar.height      = tabPanel.height;
            verticalScrollbar.orientation = UIOrientation.Vertical;
            verticalScrollbar.pivot       = UIPivotPoint.BottomLeft;
            verticalScrollbar.AlignTo(tabPanel, UIAlignAnchor.TopRight);
            verticalScrollbar.minValue        = 0;
            verticalScrollbar.value           = 0;
            verticalScrollbar.incrementAmount = 104;
            verticalScrollbar.autoHide        = true;

            UISlicedSprite trackSprite = (UISlicedSprite)verticalScrollbar.Find("trackSprite");

            trackSprite.relativePosition = Vector2.zero;
            trackSprite.autoSize         = true;
            trackSprite.size             = trackSprite.parent.size;
            trackSprite.fillDirection    = UIFillDirection.Vertical;
            trackSprite.spriteName       = ""; // "ScrollbarTrack";

            UISlicedSprite thumbSprite = (UISlicedSprite)verticalScrollbar.Find("thumbSprite");

            thumbSprite.relativePosition = Vector2.zero;
            thumbSprite.fillDirection    = UIFillDirection.Vertical;
            thumbSprite.autoSize         = true;
            thumbSprite.width            = thumbSprite.parent.width - 8;
            thumbSprite.spriteName       = "ScrollbarThumb";

            verticalScrollbar.thumbObject     = thumbSprite;
            scrollablePanel.verticalScrollbar = verticalScrollbar;
        }