Results 1 to 9 of 9

Thread: How to word wrap text in the rows and columns of a QTableWidget?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Nov 2010
    Posts
    315
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanked 53 Times in 51 Posts

    Default Re: How to word wrap text in the rows and columns of a QTableWidget?

    This is strange. It works without ANY line of code!
    I just created simple project and it wraps text out of the box.
    I mean I didn't wrote a single line of code I just clicked couple times in designer and filled table with data (I didn't change ANY property).

    See this project tableTextWrapTest.zip when you manually extend line text is nicely warped. Tested on Linux Qt 4.8.

    Maybe you should specify more precisely what is your problem.
    Last edited by MarekR22; 5th March 2012 at 13:37.

Similar Threads

  1. word wrap
    By deeee in forum Qt Programming
    Replies: 3
    Last Post: 26th May 2010, 19:55
  2. Long text and word wrap in QPainter
    By TomASS in forum Qt Programming
    Replies: 2
    Last Post: 11th December 2009, 11:50
  3. QTableWidget: Disable 'snapping' to rows and columns?
    By PolyVox in forum Qt Programming
    Replies: 2
    Last Post: 8th October 2008, 20:04
  4. Word wrap in QListView
    By jiveaxe in forum Qt Programming
    Replies: 33
    Last Post: 1st September 2007, 21:06
  5. Replies: 6
    Last Post: 5th March 2006, 21:05

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.