[Qt-interest] set QListWidget's sizeHint() to fit contents
Serge
mb0 at km.ru
Thu Jun 18 06:51:27 CEST 2009
Hi,
I have QListWidget's descendant with constant 3 rows. I need to define
its size so that it would not need vertical scroll bar and at the same
time there would be no free space under last row. In other word i need
to fit height of QListWidget to height of its contents. How can i detect
height of contents in code of sizeHint() procedure?
--
Serge
More information about the Qt-interest-old
mailing list