[Interest] Image width and height into Style Component
nunosantos at imaginando.pt
Tue Jan 6 18:03:27 CET 2015
Aren’t you using control.width and control.height to set the image dimensions?
> On 06 Jan 2015, at 16:58, Jérôme Godbout <jerome at bodycad.com> wrote:
> 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).
> Interest mailing list
> Interest at qt-project.org
More information about the Interest