DImage/SetKeepAspect

From Garry's Mod
Revision as of 06:20, 19 January 2017 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 DImage:SetKeepAspect( )

DescriptionPanelFunc

Sets whether the DImage should keep the aspect ratio of its image when being resized.

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

Arguments

boolean keep

true to keep the aspect ratio, false not to
Personal tools
Navigation