mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-13 00:19:55 +02:00
fixes #2346 increase width of column "Comment" by 10 pixels
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user