summaryrefslogtreecommitdiff
authorzecke <zecke>2002-07-07 15:43:37 (UTC)
committer zecke <zecke>2002-07-07 15:43:37 (UTC)
commit72497e9298d84a711114bb49e3c9454fabca50db (patch) (unidiff)
treed6ec0825551a496418c3a1dbc7e688f7e0813866
parent1d6f229e63930e7af2b691a4715dd94649257048 (diff)
downloadopie-72497e9298d84a711114bb49e3c9454fabca50db.zip
opie-72497e9298d84a711114bb49e3c9454fabca50db.tar.gz
opie-72497e9298d84a711114bb49e3c9454fabca50db.tar.bz2
Make the Grid Variabel
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 30afe64..0ced256 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -249,3 +249,3 @@ protected:
249 int dw = QApplication::desktop()->width(); 249 int dw = QApplication::desktop()->width();
250 setGridX( (dw-13-style().scrollBarExtent().width())/3 ); // tweaked for 8pt+dw=176 and 10pt+dw=240 250 setGridX( (dw-13-style().scrollBarExtent().width())/ (dw/80) ); // tweaked for 8pt+dw=176 and 10pt+dw=240
251 } 251 }
@@ -434,3 +434,3 @@ LauncherView::LauncherView( QWidget* parent, const char* name, WFlags fl )
434 icons->setSorting( TRUE ); 434 icons->setSorting( TRUE );
435 icons->setGridX( (dw-13-style().scrollBarExtent().width())/3 ); // tweaked for 8pt+dw=176 and 10pt+dw=240 435 icons->setGridX( (dw-13-style().scrollBarExtent().width())/ (dw/80) ); // tweaked for 8pt+dw=176 and 10pt+dw=240
436 icons->setGridY( fontMetrics().height()*2+24 ); 436 icons->setGridY( fontMetrics().height()*2+24 );
@@ -468,3 +468,3 @@ void LauncherView::setToolsEnabled(bool y)
468 typemb->setFixedHeight ( 20 ); 468 typemb->setFixedHeight ( 20 );
469 469
470 // Category filter 470 // Category filter
@@ -472,3 +472,3 @@ void LauncherView::setToolsEnabled(bool y)
472 catmb->setFixedHeight ( 20 ); 472 catmb->setFixedHeight ( 20 );
473 473
474 updateTools(); 474 updateTools();