PIXEL.TextButton
- Base panel:
PIXEL.Button - Source: cl_text_button.lua (opens in a new tab)
- Description: PIXEL button with styled text label.
Methods
The following methods are available on the PIXEL.TextButton panel:
PANEL:SizeToText()Resizes the button to fit its current text.
PANEL:PaintExtra( number, number )Draws the button text over the base PIXEL.Button background.