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

Responsive Design in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 399 Views
  • 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 27 Apr 2021, 12:22 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
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 29 Apr 2021, 10:39 last edited by
      #2
      Rectangle {
        anchors.fill: parent
      }
      

      This will make your Rectangle fill the window.

      (Z(:^

      1 Reply Last reply
      1

      1/2

      27 Apr 2021, 12:22

      • Login

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