summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-03-25 20:58:45 +0100
committerPetr Mrázek <peterix@gmail.com>2013-03-25 20:58:45 +0100
commitd2eef6974be6c9d65f0108bb86fc94e141330c76 (patch)
tree91d9cef053a18ef2a81f58f436bc00e092369e32 /gui
parent37852d47a7e5c3d65a0cfa127ced477b33eca269 (diff)
downloadMultiMC-d2eef6974be6c9d65f0108bb86fc94e141330c76.tar
MultiMC-d2eef6974be6c9d65f0108bb86fc94e141330c76.tar.gz
MultiMC-d2eef6974be6c9d65f0108bb86fc94e141330c76.tar.lz
MultiMC-d2eef6974be6c9d65f0108bb86fc94e141330c76.tar.xz
MultiMC-d2eef6974be6c9d65f0108bb86fc94e141330c76.zip
Mystery meat layout hack to get things aligned
Diffstat (limited to 'gui')
-rw-r--r--gui/mainwindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index 68654889..642f67d2 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -73,7 +73,7 @@ MainWindow::MainWindow ( QWidget *parent ) :
pal.setBrush(QPalette::Base, QBrush(QPixmap(QString::fromUtf8(":/backgrounds/kitteh"))));
view->setPalette(pal);
*/
-
+ /*
view->setStyleSheet(
"QListView\
{\
@@ -84,7 +84,7 @@ MainWindow::MainWindow ( QWidget *parent ) :
background-repeat: none;\
background-color:palette(base);\
}");
-
+ */
view->setSelectionMode ( QAbstractItemView::SingleSelection );
//view->setSpacing( KDialog::spacingHint() );
view->setCategoryDrawer ( drawer );
@@ -97,7 +97,6 @@ MainWindow::MainWindow ( QWidget *parent ) :
auto delegate = new ListViewDelegate();
view->setItemDelegate(delegate);
view->setSpacing(10);
- //view->setCategorySpacing(10);
view->setUniformItemWidths(true);
model = new InstanceModel ( instList,this );