Project

General

Profile

Auto resize image using WPainter

Added by jakub jirsa almost 8 years ago

Hi,

I am using Layout manager for my application. I would like to draw an image inside a WPaintedWidget which is dynamically changed on client side (beacause of layout). I am trying to use drawImage with WRectF but it has fixed size and I dont know how to change it dynamically. I have tried to get high and width from widget but its not working.

Thanks for help