Results 1 to 5 of 5

Thread: QListWidget: Resize to it's content

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: QListWidget: Resize to it's content

    Hmm, strange.
    Have you tried if that is true for other fonts as well?

    Cheers,
    _

  2. #2
    Join Date
    Apr 2009
    Posts
    29
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11
    Thanks
    2

    Default Re: QListWidget: Resize to it's content

    I have tested it with different fonts and only a few gave positive values, all the rest gives -1.
    I'm using Qt 4.8.5 on Linux.

Similar Threads

  1. resize to content of a QTreeWidget
    By torres in forum Newbie
    Replies: 4
    Last Post: 23rd April 2013, 05:14
  2. Replies: 3
    Last Post: 11th December 2011, 11:09
  3. QListWidget resize performance issues
    By Talei in forum Newbie
    Replies: 0
    Last Post: 17th July 2010, 06:59
  4. Read SMS in-box content & show it in QListWidget?
    By damodharan in forum Qt Programming
    Replies: 3
    Last Post: 4th June 2010, 06:51
  5. Replies: 0
    Last Post: 28th December 2009, 13:24

Tags for this Thread

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.