[Interest] Image width and height into Style Component
jerome at bodycad.com
Tue Jan 6 18:43:35 CET 2015
I wasn't but that could be a solution to set the width and height there,
it's a complexe widget that use an Image as clickable area, the image size
and source depend on the style and does not fill the widget (it's more an
information button for tooltips alike that's expend or collapse a section
of the widget). I would have love to have the whole representation into the
style (since I have a compact desktop style and more goofy for touch
On Tue, Jan 6, 2015 at 12:03 PM, Nuno Santos <nunosantos at imaginando.pt>
> Aren’t you using control.width and control.height to set the image
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest