mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 02:23:51 +00:00
improved error table layout
This commit is contained in:
parent
eab1ec9160
commit
56ed0926bd
1 changed files with 3 additions and 0 deletions
|
@ -66,7 +66,10 @@ CSVWorld::ScriptErrorTable::ScriptErrorTable (const CSMDoc::Document& document,
|
||||||
QStringList headers;
|
QStringList headers;
|
||||||
headers << "Severity" << "Line" << "Description";
|
headers << "Severity" << "Line" << "Description";
|
||||||
setHorizontalHeaderLabels (headers);
|
setHorizontalHeaderLabels (headers);
|
||||||
|
horizontalHeader()->setResizeMode (0, QHeaderView::ResizeToContents);
|
||||||
|
horizontalHeader()->setResizeMode (1, QHeaderView::ResizeToContents);
|
||||||
horizontalHeader()->setStretchLastSection (true);
|
horizontalHeader()->setStretchLastSection (true);
|
||||||
|
verticalHeader()->hide();
|
||||||
|
|
||||||
Compiler::registerExtensions (mExtensions);
|
Compiler::registerExtensions (mExtensions);
|
||||||
mContext.setExtensions (&mExtensions);
|
mContext.setExtensions (&mExtensions);
|
||||||
|
|
Loading…
Reference in a new issue