112 def finishSetup(self): |
112 def finishSetup(self): |
113 """ |
113 """ |
114 Public method to finish the setup of the assembly. |
114 Public method to finish the setup of the assembly. |
115 """ |
115 """ |
116 splitterWidth = ( |
116 splitterWidth = ( |
117 self.__editorSplitter.width() - self.__editorSplitter.handleWidth() |
117 self.parent().width() - self.__editorSplitter.handleWidth() |
118 ) |
118 ) |
119 outlineWidth = Preferences.getEditor("SourceOutlineWidth") |
119 outlineWidth = Preferences.getEditor("SourceOutlineWidth") |
120 self.__editorSplitter.setSizes([splitterWidth - outlineWidth, outlineWidth]) |
120 self.__editorSplitter.setSizes([splitterWidth - outlineWidth, outlineWidth]) |
121 |
121 |
122 def aboutToBeClosed(self): |
122 def aboutToBeClosed(self): |