Garry's Mod Wiki

Revision Difference

Panel:CenterVertical#546101

<function name="CenterVertical" parent="Panel" type="classfunc"> <description>Centers the panel vertically with specified fraction.</description> <description>Centers the panel vertically with specified fraction. (View source [here](github.com/Facepunch/garrysmod/blob/be251723824643351cb88a969818425d1ddf42b3/garrysmod/lua/includes/extensions/client/panel.lua#L151-L153]) )</description> <realm>Client</realm> <args> <arg name="fraction" type="number" default="0.5">The center fraction.</arg> </args> </function>