Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QListView and etc.

QListView and etc.

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 885 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.
  • H Offline
    H Offline
    Handzo
    wrote on last edited by
    #1

    Hi every one, I have a problem with QListView. I made my custom List each item of which is about 100px height. So here is the problem: When my list's height is 550px (just for example) i have 50px blank space at the bottom of my list. I can't find solution. Sry for my poor english.

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi, welcome to devnet

      You could limit your widget size dynamically. You could stretch some elements to fill the space. You could fill the empty space with some matching color. You could resize the elements to match the "grid size" etc.

      It all depends on your preference. First tell us WHAT would you like to do exactly and then we can think about HOW to do it.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Handzo
        wrote on last edited by
        #3

        I already found the solution, thanks. All i needed is just scroll by pixel instead of scrolling by element.

        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