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. QTableView, how to set visible rows
Qt 6.11 is out! See what's new in the release blog

QTableView, how to set visible rows

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 393 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I am using QTableView, the table is added to a QVBoxLayout the size is capable of showing more records, but for some reason it is only showing 2 records, how can I adjust this?

    Regardless of the stylesheet setting which is set to:

    margin:0;padding:0;background-color:#ffff00;
    

    I've set the background-color to yellow to make if obvious is the style sheet is applied and it is, the each of the two rows has a lot of padding around to fit into the geometry, where more records could be displayed.

    What do I need to do to resolve this?

    Kind Regards,
    Sy

    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