Message info
 
To:kde-commits@kde.org From:Mathias Kraus Subject:KDE/kdegames/granatier/src/config Date:Mon, 7 May 2012 22:47:13 +0200 (CEST)
 

SVN commit 1293435 by mkraus:

decrease minimum size for player config dialog

M +1 -1 playerselector.cpp


--- trunk/KDE/kdegames/granatier/src/config/playerselector.cpp #1293434:1293435
@@ -70,7 +70,7 @@
PlayerSelectorDelegate* delegate = new PlayerSelectorDelegate(d->m_list);
const QSize itemSizeHint = delegate->sizeHint(QStyleOptionViewItem(), QModelIndex());
const QSize scrollBarSizeHint = d->m_list->verticalScrollBar()->sizeHint();
- d->m_list->setMinimumSize(itemSizeHint.width() + 2 * scrollBarSizeHint.width(), 4.1 * itemSizeHint.height());
+ d->m_list->setMinimumSize(itemSizeHint.width() + 2 * scrollBarSizeHint.width(), 3.3 * itemSizeHint.height());
//setup main layout
QVBoxLayout* layout = new QVBoxLayout(this);
layout->setMargin(0);