--- a/SqlBrowser/SqlConnectionWidget.py Mon Aug 12 19:41:53 2013 +0200 +++ b/SqlBrowser/SqlConnectionWidget.py Mon Aug 12 22:21:53 2013 +0200 @@ -36,7 +36,7 @@ super(SqlConnectionWidget, self).__init__(parent) layout = QVBoxLayout(self) - layout.setMargin(0) + layout.setContentsMargins(0, 0, 0, 0) self.__connectionTree = QTreeWidget(self) self.__connectionTree.setObjectName("connectionTree")