Commit d03367df authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Optimize default header section size for the stack view

Both line and level should be smaller than the other headers
in the default layout since they only show numbers here.

Reviewed-by: danimo
parent e7eeaf72
......@@ -399,9 +399,12 @@ void DebuggerManager::init()
// Stack
d->m_stackHandler = new StackHandler;
QAbstractItemView *stackView =
qobject_cast<QAbstractItemView *>(d->m_stackWindow);
StackWindow *stackView =
qobject_cast<StackWindow *>(d->m_stackWindow);
stackView->setModel(d->m_stackHandler->stackModel());
stackView->header()->resizeSection(0, 60);
stackView->header()->resizeSection(3, 60);
connect(theDebuggerAction(ExpandStack), SIGNAL(triggered()),
this, SLOT(reloadFullStack()));
connect(theDebuggerAction(MaximalStackDepth), SIGNAL(triggered()),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment