Revision Difference
DImage:SetKeepAspect#513618
<function name="SetKeepAspect" parent="DImage" type="panelfunc">⤶
<ispanel>yes</ispanel>⤶
<description>⤶
Sets whether the <page>DImage</page> 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.⤶
</description>⤶
<realm>Client</realm>⤶
<args>⤶
<arg name="keep" type="boolean">true to keep the aspect ratio, false not to</arg>⤶
</args>⤶
</function>⤶
⤶