Results 1 to 3 of 3

Thread: How To Change Width of QWhatsThis

  1. #1
    Join Date
    Jun 2007
    Posts
    17
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default How To Change Width of QWhatsThis

    I'm not sure how to change the width of the QWhatsThis box that shows up when QWhatsThis is enabled. I am displaying HTML in there and it is splitting words onto two lines instead of one. Can anybody help?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How To Change Width of QWhatsThis

    Have you tried using <nobr/> or using a table with a width set?

  3. The following user says thank you to wysota for this useful post:

    seanmu13 (7th June 2007)

  4. #3
    Join Date
    Jun 2007
    Posts
    17
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How To Change Width of QWhatsThis

    thanks, I had no luck with the <nobr /> tag, but the table width worked.

Similar Threads

  1. changing column width of QTableWidget
    By juliarg in forum Newbie
    Replies: 4
    Last Post: 22nd March 2007, 15:51
  2. Change column width in a QTreeWidget
    By mace in forum Qt Programming
    Replies: 2
    Last Post: 27th May 2006, 12:19
  3. How to obtain the width of a QTableWidget?
    By Giel Peters in forum Qt Programming
    Replies: 3
    Last Post: 9th January 2006, 22:34

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.