Results 1 to 2 of 2

Thread: QListView::adjustColumn() with hidden header

  1. #1
    Join Date
    Jan 2006
    Location
    Sofia, Bulgaria
    Posts
    24
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default QListView::adjustColumn() with hidden header

    Hi,
    I am trying to adjust the column width of a single column list view. and since it's single column, I hide the header explicitly. Unfourtuantely this way it seems that adjustColumn( 0 ) does not resize the column as described in the manual. Any hints/suggestions?

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: QListView::adjustColumn() with hidden header

    First of all look if your header and your column enable resize..Second your column after start can has ajust width
    a life without programming is like an empty bottle

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

    gadnio (1st March 2006)

Similar Threads

  1. How to edit Horizontal Header Item in QTableWidget
    By ioannis in forum Qt Programming
    Replies: 6
    Last Post: 5th March 2013, 18:50
  2. Howto : Header and Footers
    By pshah.mumbai in forum Qt Programming
    Replies: 0
    Last Post: 29th October 2008, 15:32
  3. How to customize horizontal header (diagonal header view)
    By vairamuthu.g in forum Qt Programming
    Replies: 4
    Last Post: 4th September 2008, 15:59
  4. Replies: 0
    Last Post: 10th November 2006, 13:46
  5. Replies: 1
    Last Post: 28th September 2006, 06:21

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.