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.




Reply With Quote
Bookmarks