mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Increase font size of view id tags
This commit is contained in:
parent
228810fd05
commit
3dd4cb505b
@ -526,11 +526,11 @@ void PdmUiTreeViewItemDelegate::paint(QPainter *painter, const QStyleOptionViewI
|
||||
QFont font = QApplication::font();
|
||||
if (font.pixelSize() > 0)
|
||||
{
|
||||
font.setPixelSize(std::max(1, font.pixelSize() - 2));
|
||||
font.setPixelSize(std::max(1, font.pixelSize() - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
font.setPointSize(std::max(1, font.pointSize() - 2));
|
||||
font.setPointSize(std::max(1, font.pointSize() - 1));
|
||||
}
|
||||
painter->setFont(font);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user