Results 1 to 3 of 3

Thread: Span style is not working in QTextEdit

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Span style is not working in QTextEdit

    Qt's rich text rendering engine is not a W3C compliant HTML renderer. I know that's sad to hear, but it's true. You will be very frustrated if you pretend that it is. For example, it doesn't support the "float" style properties (nor most other CSS properties). See "Supported HTML Subset" in Assistant.

    You can do what you want in a <table>, however. Make a two cell table, and align one cell to the left and the other to the right.

  2. The following 2 users say thank you to Brandybuck for this useful post:

    joy (3rd April 2007), KalEl (1st March 2017)

Similar Threads

  1. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 06: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
  •  
Qt is a trademark of The Qt Company.