1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 03:07:20 +01:00

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

View File

@ -480,10 +480,10 @@ QSize RuleSetViewDelegate::calculateCellSizeForComment(const QModelIndex & index
{
QString text = index.data(Qt::DisplayRole).value<QString>();
if (text.isNull() && text.isEmpty()) return QSize(0,0);
QSize res = getTextSize(text,0);
QSize res = getTextSize(text, 0);
if (st->getClipComment())
res.setHeight(0);
return res;
return res + QSize(10, 0);
}
QSize RuleSetViewDelegate::calculateCellSizeForObject(const QModelIndex & index) const