forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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()),
|
||||
|
Reference in New Issue
Block a user