ui: removed horizontal scrollbars in code snippets

* they were still there when running coati on windows.
This commit is contained in:
malte_langkabel
2015-10-15 16:41:41 +02:00
parent b0245f9d7b
commit e8a63c9de5
+5
View File
@@ -102,6 +102,11 @@ QSize QtCodeArea::sizeHint() const
block = block.next();
}
if (horizontalScrollBar()->isVisible())
{
height += horizontalScrollBar()->height();
}
return QSize(320, height + 1);
}