I'm drawing with OpenGL on QQuickItem,but no matter what size I put on my custom QQuickItem component on QML, it always occupies the entire space of the window. I want to be able to control its size, for example, 1/4 of the window, how can i do it?
I'm drawing with OpenGL on QQuickItem,but no matter what size I put on my custom QQuickItem component on QML, it always occupies the entire space of the window. I want to be able to control its size, for example, 1/4 of the window, how can i do it?