[Marble-commits] KDE/kdeedu/marble/src/lib

Bastian Holst bastianholst at gmx.de
Tue Oct 5 18:37:43 CEST 2010


SVN commit 1182778 by bholst:

ThemeSelectView is now able to show the themes in multiple columns.
This is espacially needed when shown on the n900 with its wide screen.

 M  +3 -2      MarbleThemeSelectView.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/MarbleThemeSelectView.cpp #1182777:1182778
@@ -7,6 +7,7 @@
 //
 // Copyright 2006-2007 Torsten Rahn <tackat at kde.org>
 // Copyright 2007      Inge Wallin  <ingwa at kde.org>
+// Copyright 2010      Bastian Holst <bastianholst at gmx.de>
 //
 
 #include "MarbleThemeSelectView.h"
@@ -21,8 +22,8 @@
       d( 0 )                    // No private data yet.
 {
     setViewMode( QListView::IconMode );
-    setFlow( QListView::TopToBottom ); 
-    setWrapping( false ); 
+    setFlow( QListView::LeftToRight );
+    setWrapping( true ); 
     setMovement( QListView::Static );
     setResizeMode( QListView::Fixed );
     setUniformItemSizes ( true );


More information about the Marble-commits mailing list