eric6/WebBrowser/Navigation/NavigationContainer.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
27 self.__layout = QVBoxLayout(self) 27 self.__layout = QVBoxLayout(self)
28 self.__layout.setContentsMargins(0, 0, 0, 0) 28 self.__layout.setContentsMargins(0, 0, 0, 0)
29 self.__layout.setSpacing(0) 29 self.__layout.setSpacing(0)
30 30
31 self.setLayout(self.__layout) 31 self.setLayout(self.__layout)
32 self.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Maximum) 32 self.setSizePolicy(QSizePolicy.Policy.Preferred,
33 QSizePolicy.Policy.Maximum)
33 34
34 def addWidget(self, widget): 35 def addWidget(self, widget):
35 """ 36 """
36 Public method to add a widget to the container. 37 Public method to add a widget to the container.
37 38

eric ide

mercurial