Garry's Mod Wiki

DImageButton:SetKeepAspect

DImageButton:SetKeepAspect( boolean keep )

Description

Sets whether the DImageButton should keep the aspect ratio of its image. Equivalent of DImage:SetKeepAspect.

Note that this will not try to fit the image inside the button, but instead it will fill the button with the image.

Arguments

1 boolean keep
true to keep the aspect ratio, false not to

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 12