diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 08b228d4a..500c0508a 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -141,6 +141,8 @@ MainWindow::MainWindow() : QMainWindow(), QMargins margins(5, 5, 5, 5); QList dontChange; dontChange << "notesAndSocialNetworksLayout" << + "mainTabOuterLayout" << + "ratingVisibilityWidgets" << "profileInnerLayout"; Q_FOREACH (QLayout *layout, findChildren()) { // lots of internally used layouts by Qt have no names @@ -155,6 +157,8 @@ MainWindow::MainWindow() : QMainWindow(), } margins = QMargins(0, 5, 5, 5); ui.profileInnerLayout->setContentsMargins(margins); + margins = QMargins(5, 5, 0, 5); + ui.profileOuterLayout->setContentsMargins(margins); updateManager = new UpdateManager(this); } diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index ca5db455c..ac16afc30 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -15,18 +15,6 @@ 0 - - 0 - - - 0 - - - 0 - - - 0 - @@ -48,18 +36,6 @@ 0 - - 0 - - - 0 - - - 0 - - - 0 - @@ -70,21 +46,6 @@ true - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - @@ -97,21 +58,6 @@ - - 0 - - - 0 - - - 0 - - - 0 - - - 0 -