Hi. If i put size/width to for example 50% and resize the browser, the canvas resizes as expected. But for a new usecase i would like a canvas that resizes proportionally. I.e. the widht/height adjusts to the lesser value of width/height. I tried mucking around, having a resizedlistener but couldn't get it to work.
Is there any reasonably easy way to accomplish this?
Is there any reasonably easy way to accomplish this?
Comment