DImageButton/SetStretchToFit

From Garry's Mod
Jump to: navigation, search
 DImageButton:SetStretchToFit( )

DescriptionPanelFunc

Sets whether the image inside the DImageButton should be stretched to fill the entire size of the button, without preserving aspect ratio.

If set to false, the image will not be resized at all.

Arguments

boolean stretch

True to stretch, false to not to stretch
Personal tools
Navigation