540 """ |
540 """ |
541 super(PluginRepositoryDialog, self).__init__(parent) |
541 super(PluginRepositoryDialog, self).__init__(parent) |
542 self.setSizeGripEnabled(True) |
542 self.setSizeGripEnabled(True) |
543 |
543 |
544 self.__layout = QVBoxLayout(self) |
544 self.__layout = QVBoxLayout(self) |
545 self.__layout.setMargin(0) |
545 self.__layout.setContentsMargins(0, 0, 0, 0) |
546 self.setLayout(self.__layout) |
546 self.setLayout(self.__layout) |
547 |
547 |
548 self.cw = PluginRepositoryWidget(self) |
548 self.cw = PluginRepositoryWidget(self) |
549 size = self.cw.size() |
549 size = self.cw.size() |
550 self.__layout.addWidget(self.cw) |
550 self.__layout.addWidget(self.cw) |