[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/kopete/contactlist
From: Roman Jarosz <kedgedev () gmail ! com>
Date: 2009-03-31 21:55:33
Message-ID: 1238536533.893866.386.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 947618 by rjarosz:
Change margins.
M +2 -2 kopeteitemdelegate.cpp
--- trunk/KDE/kdenetwork/kopete/kopete/contactlist/kopeteitemdelegate.cpp #947617:947618
@@ -39,7 +39,7 @@
#include "contactlistproxymodel.h"
const qreal MARGIN = 2.0;
-const qreal MARGINH = 6.0;
+const qreal MARGINH = 4.0;
const qreal PADDING = 1.0;
KopeteItemDelegate::KopeteItemDelegate( QAbstractItemView* parent )
@@ -310,7 +310,7 @@
const int rowHeight = calculateRowHeight( row, normal, small );
qreal itemOffsetX = rowOffsetX;
const int elementCount = row.count();
- qreal rowWidth = option.rect.width() - ( rowOffsetX + MARGINH );
+ qreal rowWidth = option.rect.width() - ( rowOffsetX + MARGIN );
QRectF rowBox( itemOffsetX, rowOffsetY, rowWidth, rowHeight );
int currentItemX = itemOffsetX;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic