javascript-winwheel icon indicating copy to clipboard operation
javascript-winwheel copied to clipboard

Make segment images size fill the containing canvas

Open mlacif1 opened this issue 7 years ago • 2 comments

Hello. Would it be possible to make the segment images full size even if the passed in image is too small? 'segments' : // Define segments including image and text. [ {'image' : 'images/img.png', 'text' : ''}, {'image' : 'images/img.png', 'text' : ''}, {'image' : 'images/img.png', 'text' : ''}, {'image' : 'images/img.png', 'text' : ''}, {'image' : 'images/img.png', 'text' : ''}, {'image' : 'images/img.png', 'text' : ''}, {'image' : 'images/img.png', 'text' : ''}, {'image' : 'images/img.png', 'text' : ''} ],

Maybe a flag would be nice, like: scaleSegmentImages ?

Basically make the segment images fill the containing canvas size. Thank you :)

mlacif1 avatar Sep 26 '17 21:09 mlacif1

Hi. I suppose so. I'll try and find time this weekend to have an experiment. Cheers.

zarocknz avatar Sep 27 '17 07:09 zarocknz

Hi @zarocknz, I know this is an old issue, but I also would like to see this option, are you still going to implement it? :)

AlexanderYW avatar Apr 25 '20 16:04 AlexanderYW