I have tried to fit an image to a button and right now the image is distorted. How to auto fit an image for the nana::button background so that it fills up the button without distorting the image.

The same question goes for auto fitting an icon to a button. In both cased I would like to maintain the aspect ration and fit them in the center of a button.

I have tried to fit an image to a button and right now the image is distorted. How to auto fit an image for the nana::button background so that it fills up the button without distorting the image. The same question goes for auto fitting an icon to a button. In both cased I would like to maintain the aspect ration and fit them in the center of a button.
edited Oct 3 at 5:25 pm
7
views
0
replies
1
followers
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft