'pnlBase is the white panel that everything fits within
pnlBase.SetLayoutAnimated(0, pnlBase.Left, pnlBase.Top, pnlBase.Width, mBase.Height - pnlBase.Top)
'Sets the clv's base panel to the right size
clvBase.SetLayoutAnimated(0, clvBase.Left, clvBase.Top, clvBase.Width, pnlBase.Height)
'Set the clv to the size of the base
clv.AsView.SetLayoutAnimated(0, 0, 0, clvBase.Width, clvBase.Height)
clv.sv.SetLayoutAnimated(0, clv.AsView.Left, clv.AsView.Top, clv.AsView.Width, clv.AsView.Height)
clv.Base_Resize(clvBase.Width, clvBase.Height)