Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Responsive Design in QML
Qt 6.11 is out! See what's new in the release blog

Responsive Design in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 524 Views 1 Watching
  • 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 Offline
    I Offline
    itzwich
    wrote on last edited by
    #1

    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
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2
      Rectangle {
        anchors.fill: parent
      }
      

      This will make your Rectangle fill the window.

      (Z(:^

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved