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