forked from qt-creator/qt-creator
Clean up layouts and use minisplitter everywhere
This patch replaces all uses of QSplitter with thin 1-pixel splitters. I also fixed dock widget layouts in main windows to do the same. Additionally I had to tweak the tabbars so they look good in mini splitter layouts to avoid a double left-border. Reviewed-by: thorbjorn
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
#include <coreplugin/findplaceholder.h>
|
||||
#include <coreplugin/minisplitter.h>
|
||||
#include <find/basetextfind.h>
|
||||
|
||||
using namespace Debugger;
|
||||
@@ -329,7 +330,8 @@ DebuggerOutputWindow::DebuggerOutputWindow(QWidget *parent)
|
||||
{
|
||||
setWindowTitle(tr("Debugger"));
|
||||
|
||||
QSplitter *m_splitter = new QSplitter(Qt::Horizontal, this);
|
||||
QSplitter *m_splitter = new Core::MiniSplitter(Qt::Horizontal);
|
||||
m_splitter->setParent(this);
|
||||
// mixed input/output
|
||||
m_combinedText = new CombinedPane(this);
|
||||
m_combinedText->setReadOnly(true);
|
||||
|
||||
Reference in New Issue
Block a user