From 9b78c52b7fdfd40d4d3102c2261d5dddb71c885c Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 24 Nov 2002 18:28:05 +0000 Subject: A sizeHint().height() of 200 pixel is a bit much for a 240x320 display --- (limited to 'qt') diff --git a/qt/qte234-for-opie091-listview.patch b/qt/qte234-for-opie091-listview.patch new file mode 100644 index 0000000..f3c541b --- a/dev/null +++ b/qt/qte234-for-opie091-listview.patch @@ -0,0 +1,15 @@ +--- src/widgets/qlistview.cpp.orig 2002-11-23 23:31:19.000000000 +0100 ++++ src/widgets/qlistview.cpp 2002-11-24 00:08:51.000000000 +0100 +@@ -4968,9 +4968,9 @@ + l = l->childItem ? l->childItem : l->siblingItem; + + if ( l && l->height() ) +- s.setHeight( s.height() + 10 * l->height() ); +- else +- s.setHeight( s.height() + 140 ); ++ s.setHeight( s.height() + 4 /*10*/ * l->height() ); ++ else // ^v much too big for handhelds ++ s.setHeight( s.height() + 30 /*140*/ ); + + if ( s.width() > s.height() * 3 ) + s.setHeight( s.width() / 3 ); -- cgit v0.9.0.2