Results 1 to 8 of 8

Thread: QTable Column width supporting fonts

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Dec 2006
    Posts
    9
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default Re: QTable Column width supporting fonts

    I think W is the widest character. Since,
    fm.width("W") = 15 with font family set
    fm.width("M") = 13. with font family set

    Tried in the same way for M also. But it is not coming in the screen limits.
    As mentioned in previous mails, the characters are fitting into the columns, but QTable is not coming in the screen limits.

    If we use setColumnStrechable(true). All columns are resized equally and coming in the screen limits, but max characters of a column is not proper.

    The issue is with max characters per a column and QTable to come in screen limits.
    Last edited by kommu; 27th December 2007 at 07:49.

Similar Threads

  1. QTable column stretchable with minimum Width
    By sunil.thaha in forum Qt Programming
    Replies: 0
    Last Post: 24th April 2006, 14:17

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.