Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 101ms

DB GetPage 49
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 37