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. how do i remove Qtablewidget space between last coloum and scroll bar

how do i remove Qtablewidget space between last coloum and scroll bar

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

    can anybody tell how to remove space between last coloum and scroll bar. i hide horizontal and vertical headers.
    thank u in advance

    mrjjM 1 Reply Last reply
    0
    • S shravani

      can anybody tell how to remove space between last coloum and scroll bar. i hide horizontal and vertical headers.
      thank u in advance

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      @shravani
      Hi and welcome

      Something like
      ui->TableWidget->horizontalHeader()->setStretchLastSection(true);
      if u mean that last cell should take up all space left till the border.

      http://stackoverflow.com/questions/8947977/how-do-i-get-rid-of-this-whitespace-in-my-qtablewidget

      1 Reply Last reply
      1

      • Login

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