Garry's Mod Wiki

Revision Difference

Panel:GetTextSize#529092

<function name="GetTextSize" parent="Panel" type="classfunc"> <description>⤶ Gets the size of the text within a <page>Label</page> derived panel.⤶ ⤶ <bug issue="2576">This can return 0 incorrectly.</bug>⤶ </description>⤶ <description>Gets the size of the text within a <page>Label</page> derived panel.</description>⤶ <realm>Client</realm> <rets> <ret name="" type="number">The width of the text in the DLabel.</ret> <ret name="" type="number">The height of the text in the DLabel.</ret> </rets> </function>