Results 1 to 2 of 2

Thread: QTableWidgetItem font

  1. #1
    Join Date
    Jan 2011
    Posts
    34
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    6

    Default QTableWidgetItem font

    I want to set the same font for all cells of QTableWidget. When text fits into cell bold font used, but I want to use normal like shown on second picture.
    Font.png

  2. #2
    Join Date
    Jan 2011
    Posts
    34
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    6

    Default Re: QTableWidgetItem font

    Solved. Problem was in custom style sheet.

Similar Threads

  1. Font Height and width based on font size
    By Ghufran in forum Qt Programming
    Replies: 1
    Last Post: 31st July 2010, 09:02
  2. Change Font of QListWidget to Monospace Font
    By pospiech in forum Qt Programming
    Replies: 3
    Last Post: 25th July 2008, 19:23
  3. font incorrectly show - font break.
    By sgh in forum Qt Programming
    Replies: 9
    Last Post: 30th May 2008, 03:35
  4. Replies: 1
    Last Post: 25th December 2007, 11:35
  5. QTableWidgetItem's setFlags() ???
    By darpan in forum Qt Programming
    Replies: 1
    Last Post: 18th October 2006, 16:07

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
  •  
Qt is a trademark of The Qt Company.