How can i set fixed column widths in QAbstractTableModel based on table width? For example, column 1 has 5% of table witdh, column 2 has 25% etc. Is that possible?
How can i set fixed column widths in QAbstractTableModel based on table width? For example, column 1 has 5% of table witdh, column 2 has 25% etc. Is that possible?
I think this upto the view to decide how items are arranged. In your case you could create custom delegates and override its sizeHint().
We can't solve problems by using the same kind of thinking we used when we created them
Bookmarks