improved error table layout

sceneinput
Marc Zinnschlag 10 years ago
parent eab1ec9160
commit 56ed0926bd

@ -66,7 +66,10 @@ CSVWorld::ScriptErrorTable::ScriptErrorTable (const CSMDoc::Document& document,
QStringList headers;
headers << "Severity" << "Line" << "Description";
setHorizontalHeaderLabels (headers);
horizontalHeader()->setResizeMode (0, QHeaderView::ResizeToContents);
horizontalHeader()->setResizeMode (1, QHeaderView::ResizeToContents);
horizontalHeader()->setStretchLastSection (true);
verticalHeader()->hide();
Compiler::registerExtensions (mExtensions);
mContext.setExtensions (&mExtensions);

Loading…
Cancel
Save