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 surface)
On Tue, Jan 6, 2015 at 12:03 PM, Nuno Santos <nunosan...@imaginando.pt> wrote: > 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 <jer...@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@qt-project.org > > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest