[Solved] Resize all the items within a container proportionally
QML and Qt Quick
4
Posts
2
Posters
897
Views
1
Watching
-
wrote on 7 Jan 2015, 18:43 last edited by
Hi everyone.
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.
-
wrote on 8 Jan 2015, 07:54 last edited by
Did you try using the scale property on the containing rectangle?
-
wrote on 8 Jan 2015, 15:10 last edited by
Exactly what I've been looking for.
Thanks.
-
wrote on 13 Jan 2015, 20:29 last edited by
Hi again.
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?
3/4