Results 1 to 2 of 2

Thread: Centering a table in QTableWidget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2019
    Posts
    5
    Qt products
    Qt5
    Platforms
    Windows

    Question Centering a table in QTableWidget

    Hi. After looking through the documentation, I don't think there is a built-in way to do this so I want to ask what approach people here thought was best.

    I have a qTableWidget and I want to have the table centered.
    Untitled.png

    I want to have this table centered. How can I do this? I'm very lost. Thanks. Let me know if you need any more information.
    Last edited by Malorn44; 3rd April 2019 at 18:18. Reason: mistake in image upload

Similar Threads

  1. Replies: 2
    Last Post: 8th February 2017, 05:51
  2. Unable to see the table created by QTableWidget
    By swathisri in forum Qt Programming
    Replies: 1
    Last Post: 25th June 2013, 13:15
  3. Centering QPushButton within a QTableWidget
    By bob2oneil in forum Qt Programming
    Replies: 7
    Last Post: 11th November 2011, 10:26
  4. QTableWidget resizeColumnsToContents for whole table?
    By lalesculiviu in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2010, 00:08
  5. QTableWidget - scrolling to bottom of the table
    By mkhoang in forum Qt Programming
    Replies: 4
    Last Post: 12th November 2008, 17:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.