ui: Fixes for code view

* set code font size as pixel value
* properly hide line number area for overview stats in both snippets and single file view
* fixed file title disabled for files in single file view in trial mode
This commit is contained in:
Eberhard Graether
2017-08-01 14:31:03 +02:00
parent 244c9af3c6
commit 96c68c4d0b
6 changed files with 15 additions and 19 deletions
@@ -31,6 +31,8 @@ QtCodeFileTitleButton::~QtCodeFileTitleButton()
void QtCodeFileTitleButton::setFilePath(const FilePath& filePath)
{
setEnabled(true);
m_filePath = filePath;
setText("");
@@ -89,6 +91,7 @@ void QtCodeFileTitleButton::setProject(const std::string& name)
if (Application::getInstance()->isInTrial())
{
setIcon(QIcon());
setEnabled(false);
}
else