Tools/UIPreviewer.py

branch
Py2 comp.
changeset 2847
1843ef6e2656
parent 2525
8b507a9a2d40
parent 2824
858412c29c34
child 3057
10516539f238
--- a/Tools/UIPreviewer.py	Mon Aug 12 19:41:53 2013 +0200
+++ b/Tools/UIPreviewer.py	Mon Aug 12 22:21:53 2013 +0200
@@ -58,12 +58,12 @@
         self.cw.setObjectName("centralWidget")
         
         self.UIPreviewerLayout = QVBoxLayout(self.cw)
-        self.UIPreviewerLayout.setMargin(6)
+        self.UIPreviewerLayout.setContentsMargins(6, 6, 6, 6)
         self.UIPreviewerLayout.setSpacing(6)
         self.UIPreviewerLayout.setObjectName("UIPreviewerLayout")
 
         self.styleLayout = QHBoxLayout()
-        self.styleLayout.setMargin(0)
+        self.styleLayout.setContentsMargins(0, 0, 0, 0)
         self.styleLayout.setSpacing(6)
         self.styleLayout.setObjectName("styleLayout")
 

eric ide

mercurial