eric7/E5Gui/E5MapWidget.py

branch
eric7
changeset 8319
ea11a3948f40
parent 8318
962bce857696
--- a/eric7/E5Gui/E5MapWidget.py	Sun May 16 20:07:24 2021 +0200
+++ b/eric7/E5Gui/E5MapWidget.py	Mon May 17 19:58:15 2021 +0200
@@ -267,8 +267,8 @@
                 vsbw = vsb.contentsRect().width()
             else:
                 vsbw = 0
-            left, top, right, bottom = self._master.getContentsMargins()
-            if right > vsbw:
+            margins = self._master.contentsMargins()
+            if margins.right() > vsbw:
                 vsbw = 0
             if self.__rightSide:
                 self.setGeometry(

eric ide

mercurial