Results 1 to 2 of 2

Thread: A text widget that handles line wrapping of white spaces?

  1. #1
    Join Date
    Sep 2011
    Posts
    16
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default A text widget that handles line wrapping of white spaces?

    Hi everyone,

    I am trying to add a new UI element to the software i am working on and I am looking for a decent text widget that handles line wrapping properly including white space and tabs. I started using QTextEdit but apparently there is a bug with it https://bugreports.qt.nokia.com/browse/QTBUG-2466. Wondering if anyone knows of an existing widget that does a better job at line wrapping?

    Thuan

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A text widget that handles line wrapping of white spaces?

    The problem is actually in QTextLayout which means that pretty much all Qt-based editors will be affected, unless they roll their own layout code, thereby losing most unicode/bidi features (QScintilla is an example). A more accurate bug report might lead to a fix but it could take some time...
    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. Replies: 4
    Last Post: 5th August 2011, 20:04
  2. QTableWidget showing white line
    By deepal_de in forum Qt Programming
    Replies: 6
    Last Post: 25th May 2011, 09:06
  3. QSS, trying to make the text on the combo box WHITE not black.
    By technoViking in forum Qt Programming
    Replies: 3
    Last Post: 21st June 2010, 23:57
  4. Replies: 1
    Last Post: 15th January 2010, 20:11
  5. Displaying Text on Black and White Screen
    By Stobie in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 8th December 2009, 01:03

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.