Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Resize all the items within a container proportionally
I'm building a series of gauges. The gauge faces include a background the actual needle and a text number, all placed in a rectangle. Within the application I need to make these smaller or larger proportionally to give some effects.
How can I do this? Resizing the rectangle, which acts as the container, doesn't do this.
Any help is appreciated. Thanks.
andre last edited by
Did you try using the scale property on the containing rectangle?
Exactly what I've been looking for.
This worked very nicely, however when scaling down the quality is lost. Antialising and smoothing are also set to true. Could we scale down and retain the quality?