DivTall
Sets a panel's height to a fraction of its parent's height.
Arguments
(Optional) Number frac What fraction to set the panel's height to
(Optional) Panel target The panel we should follow, if not its parent
Example
local pnl = vgui.Create("DPanel")
pnl:DivTall(4) -- Sets the panel to 1/4th the height of its parent