SunsetHigh.ListPanel.ScrollBar.adjustHeight C# (CSharp) Method

adjustHeight() public method

public adjustHeight ( int rowsOnScreen, int totalRows ) : void
rowsOnScreen int
totalRows int
return void
            public void adjustHeight(int rowsOnScreen, int totalRows)
            {
                this.setHeight((int)(this.maxHeight * (1.0f * rowsOnScreen / totalRows)));
            }