fixes #2346 increase width of column "Comment" by 10 pixels

This commit is contained in:
Vadim Kurland
2011-04-13 20:45:08 -07:00
parent 1a9eda04a9
commit 41e1255101
+1 -1
View File
@@ -483,7 +483,7 @@ QSize RuleSetViewDelegate::calculateCellSizeForComment(const QModelIndex & index
QSize res = getTextSize(text, 0); QSize res = getTextSize(text, 0);
if (st->getClipComment()) if (st->getClipComment())
res.setHeight(0); res.setHeight(0);
return res; return res + QSize(10, 0);
} }
QSize RuleSetViewDelegate::calculateCellSizeForObject(const QModelIndex & index) const QSize RuleSetViewDelegate::calculateCellSizeForObject(const QModelIndex & index) const