Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Responsive Design in QML

    QML and Qt Quick
    2
    2
    204
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      itzwich last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Rectangle {
          anchors.fill: parent
        }
        

        This will make your Rectangle fill the window.

        (Z(:^

        1 Reply Last reply Reply Quote 1
        • First post
          Last post