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: 18ms

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