Revision Difference
DImage:SetKeepAspect#554176
<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 and Menu</realm>
<args>
<arg name="keep" type="boolean">true to keep the aspect ratio, false not to</arg>
</args>
</function>