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. Center row in Grid if not complete
Qt 6.11 is out! See what's new in the release blog

Center row in Grid if not complete

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 642 Views 2 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.
  • D Offline
    D Offline
    DavidM29
    wrote on last edited by
    #1

    Hello,

    I have a grid on my project. This grid is 3 columns 2 rows. My problem is that most of the time I have only 5 element in it. And it is not diplayed like I would.

    It look like this :
    0_1527598149057_57bd6cda-0001-4287-87bb-74b61c83b1cd-image.png

    But I would like it to be like this :
    0_1527598195200_918e0f31-1b5f-478b-b5b8-a5d8eb6956c5-image.png

    Is that possible ?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #2

      Not from Grid. Use row/column layout or anchors.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      https://www.pthinks.com

      1 Reply Last reply
      0

      • Login

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