summaryrefslogtreecommitdiff
Side-by-side diff
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:
int dw = QApplication::desktop()->width();
- setGridX( (dw-13-style().scrollBarExtent().width())/3 ); // tweaked for 8pt+dw=176 and 10pt+dw=240
+ setGridX( (dw-13-style().scrollBarExtent().width())/ (dw/80) ); // tweaked for 8pt+dw=176 and 10pt+dw=240
}
@@ -434,3 +434,3 @@ LauncherView::LauncherView( QWidget* parent, const char* name, WFlags fl )
icons->setSorting( TRUE );
- icons->setGridX( (dw-13-style().scrollBarExtent().width())/3 ); // tweaked for 8pt+dw=176 and 10pt+dw=240
+ icons->setGridX( (dw-13-style().scrollBarExtent().width())/ (dw/80) ); // tweaked for 8pt+dw=176 and 10pt+dw=240
icons->setGridY( fontMetrics().height()*2+24 );
@@ -468,3 +468,3 @@ void LauncherView::setToolsEnabled(bool y)
typemb->setFixedHeight ( 20 );
-
+
// Category filter
@@ -472,3 +472,3 @@ void LauncherView::setToolsEnabled(bool y)
catmb->setFixedHeight ( 20 );
-
+
updateTools();