Tools/UIPreviewer.py

changeset 2824
858412c29c34
parent 2467
33f1bcfdd65e
child 2847
1843ef6e2656
child 2965
d133c7edd88a
child 3049
a6847e5eb1b9
--- a/Tools/UIPreviewer.py	Thu Jul 25 19:08:05 2013 +0200
+++ b/Tools/UIPreviewer.py	Fri Jul 26 18:51:12 2013 +0200
@@ -56,12 +56,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