E5Gui/E5SideBar.py

branch
5_3_x
changeset 2825
323d417d256b
parent 2302
f29e9405c851
child 3163
9f50365a0870
--- a/E5Gui/E5SideBar.py	Thu Jul 25 19:08:05 2013 +0200
+++ b/E5Gui/E5SideBar.py	Fri Jul 26 18:52:45 2013 +0200
@@ -51,9 +51,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