Garry's Mod Wiki

DImageButton:SetStretchToFit

DImageButton:SetStretchToFit

DImageButton:SetStretchToFit( boolean stretch )

Description

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

1 boolean stretch
True to stretch, false to not to stretch

Special Pages


Wikis

?

Render Time: 59ms

DB GetPage 43
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 6