[Interest] Image width and height into Style Component

Nuno Santos nunosantos at imaginando.pt
Tue Jan 6 18:03:27 CET 2015


Hi,

Aren’t you using control.width and control.height to set the image dimensions?

Regards,

Nuno

> On 06 Jan 2015, at 16:58, Jérôme Godbout <jerome at bodycad.com> wrote:
> 
> Hi,
> I have some problem when using Image into Style Component. The width and height set into the component are overwritten when the component load the image. I cannot set the implicitWidth and Height as they are readonly. Anybody known what to do to scale Image into style component? maybe I should generate additionnal image file, I would like to avoid this as much as possible.
> 
> This does not happen when loading the same component into a Loader. (I'm currently stuck at Qt 5.3.0).
> 
> Thanks,
> Jerome
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list