summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-05-25 16:14:59 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-25 17:45:15 -0700
commit8f2f9164fc25a11786b7323dc96521a089973656 (patch)
tree2d123b1546abe46361270eb25d462a220e4393c7 /qt-ui
parentadb61b38eae5b7e6522edbde1ff5e088c0dd6cb7 (diff)
downloadsubsurface-8f2f9164fc25a11786b7323dc96521a089973656.tar.gz
Layout issues: Fix the Profile/Toolbar
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 3ba79ef94..b2539da0d 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -95,6 +95,9 @@ MainWindow::MainWindow() : QMainWindow(),
QWidget *profileContainer = new QWidget();
QHBoxLayout *profLayout = new QHBoxLayout();
+ profLayout->setSpacing(0);
+ profLayout->setMargin(0);
+ profLayout->setContentsMargins(0,0,0,0);
profLayout->addWidget(toolBar);
profLayout->addWidget(profileWidget);
profileContainer->setLayout(profLayout);