mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Correction de la position de la barre d'onglets presentant les schemas sous MacOS.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@725 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -58,7 +58,11 @@ ProjectView::ProjectView(QETProject *project, QWidget *parent) :
|
||||
connect(tabs_, SIGNAL(tabMoved(int, int)), this, SLOT(tabMoved(int, int)));
|
||||
|
||||
layout_ = new QVBoxLayout(this);
|
||||
layout_ -> setMargin(0);
|
||||
#ifdef Q_WS_MAC
|
||||
layout_ -> setContentsMargins(0, 8, 0, 0);
|
||||
#else
|
||||
layout_ -> setContentsMargins(0, 0, 0, 0);
|
||||
#endif
|
||||
layout_ -> setSpacing(0);
|
||||
layout_ -> addWidget(fallback_widget_);
|
||||
layout_ -> addWidget(tabs_);
|
||||
|
||||
Reference in New Issue
Block a user