ui: removed horizontal scrollbars in code snippets
* they were still there when running coati on windows.
This commit is contained in:
@@ -102,6 +102,11 @@ QSize QtCodeArea::sizeHint() const
|
||||
block = block.next();
|
||||
}
|
||||
|
||||
if (horizontalScrollBar()->isVisible())
|
||||
{
|
||||
height += horizontalScrollBar()->height();
|
||||
}
|
||||
|
||||
return QSize(320, height + 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user