E5Gui/E5SideBar.py

branch
Py2 comp.
changeset 2847
1843ef6e2656
parent 2677
3d4277929fb3
parent 2824
858412c29c34
child 3057
10516539f238
--- a/E5Gui/E5SideBar.py	Mon Aug 12 19:41:53 2013 +0200
+++ b/E5Gui/E5SideBar.py	Mon Aug 12 22:21:53 2013 +0200
@@ -54,9 +54,9 @@
         self.__autoHideButton.setToolTip(
             self.trUtf8("Deselect to activate automatic collapsing"))
         self.barLayout = QBoxLayout(QBoxLayout.LeftToRight)
-        self.barLayout.setMargin(0)
+        self.barLayout.setContentsMargins(0, 0, 0, 0)
         self.layout = QBoxLayout(QBoxLayout.TopToBottom)
-        self.layout.setMargin(0)
+        self.layout.setContentsMargins(0, 0, 0, 0)
         self.layout.setSpacing(0)
         self.barLayout.addWidget(self.__autoHideButton)
         self.barLayout.addWidget(self.__tabBar)

eric ide

mercurial