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. shift delegate in GridView
Qt 6.11 is out! See what's new in the release blog

shift delegate in GridView

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 229 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.
  • J Offline
    J Offline
    Jim Gir
    wrote on last edited by
    #1

    Hi,
    I'd like to know if it's possible to shift delegate inside a gridview.
    I want cells in a specific row be shifted 10 pixels right but all other rows should not be shifted.

    Thanks
    Jimmy

    1 Reply Last reply
    0
    • 6thC6 Offline
      6thC6 Offline
      6thC
      wrote on last edited by
      #2

      Not information for me to help mate.

      Possibly padding / margins. Really too hard basket for me (with just this).

      Anything is possible if you smash it with a big enough hammer. Whether it's a good idea or not...

      This book might actually prove more helpful than my reply though.
      https://qmlbook.github.io/ch07-modelview/modelview.html#dynamic-views

      https://qmlbook.github.io/ch07-modelview/modelview.html#shape-shifting-delegates

      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