Item size is determined by the size returned by delegate's sizeHint method, which is in turn based on getting data from SizeHintRole of the item, so you can either reimplement sizeHint(), set data for SizeHintRole of the items (or the whole model) or reimplement the delegate's painting routine (note that this will not alter the cell size, only its content).Originally Posted by Brandybuck





Reply With Quote

Bookmarks