[qet] [725] Correction de la position de la barre d' onglets presentant les schemas sous MacOS.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 725
Author:   xavier
Date:     2009-08-01 15:05:39 +0200 (Sat, 01 Aug 2009)

Log Message:
-----------
Correction de la position de la barre d'onglets presentant les schemas sous MacOS.

Modified Paths:
--------------
    trunk/sources/projectview.cpp


Modified: trunk/sources/projectview.cpp
===================================================================
--- trunk/sources/projectview.cpp	2009-07-30 20:48:19 UTC (rev 724)
+++ trunk/sources/projectview.cpp	2009-08-01 13:05:39 UTC (rev 725)
@@ -58,7 +58,11 @@
 	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_);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/