Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Responsive Design in QML



  • Hallo. I would like to build a Desktop surface in qt design studio. If I create my new projekt it add a default Rectangle
    15e396f2-c9b9-461a-a945-2a0fcc2fb92d-image.png

    How can I make this main Rectangle Responsive?
    c522ee16-2148-4540-8a36-2fc71ddb9934-image.png

    If I pull the window bigger my Rectangle don't change his size.
    I hope everyone can help me.


  • Moderators

    Rectangle {
      anchors.fill: parent
    }
    

    This will make your Rectangle fill the window.


Log in to reply