very frustrated with sizehint of KViewList/QViewList KTextEdit/QTextEdit

Willy De la Court Willy.DelaCourt at pandora.be
Tue Feb 25 20:09:18 GMT 2003


Martijn,

On Tuesday 25 February 2003 19:50, Martijn Klingens wrote:
> 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().

I tried all the settings and non of them have effect on the minimum size it 
always goes to a min size of about 200 pixels for the ListView and 140 for 
the TextEdit and i'v set the minimum height to 66 for both.

-- 
Simple things make people happy.
Willy De la Court





More information about the kde-core-devel mailing list