From 8f2f9164fc25a11786b7323dc96521a089973656 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 25 May 2015 16:14:59 -0300 Subject: Layout issues: Fix the Profile/Toolbar Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qt-ui/mainwindow.cpp') 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); -- cgit v1.2.3-70-g09d2