PDA

View Full Version : squeezed editor-widget in my listview.



momesana
30th March 2008, 12:10
hi,
I've subclassed a QItemDelegate and provided my own editor widget. Everything works as I want it to but the editor widget looks a bit squeezed.
returning a hardcoded value in sizeHint that is high enough fixes this but isn't there a better way to do that? Especially since I can't think of a way to get a pointer to the editor widget in the cell to ask it for its sizeHint.
Any Ideas?

21412142