very frustrated with sizehint of KViewList/QViewList KTextEdit/QTextEdit

Martijn Klingens klingens at kde.org
Tue Feb 25 18:50:07 GMT 2003


On Tuesday 25 February 2003 20:24, Willy De la Court wrote:
> the sizehint of QListView is even stranger
>
> The point is what can i do about this or what am i doing wrong i'v seen
> KListView with only 2 or 3 lines maximum but i can't seem to figure out how
> to do that.

Does setting the (vertical) resize policy to QSizePolicy::Mininum or 
MinimumExpanding work? In that case the minimumSizeHint() is used instead of 
the normal sizeHint().

Btw: this mail is probably better suited on kde-devel than on kde-core-devel.

-- 
Martijn





More information about the kde-core-devel mailing list