src/eric7/QScintilla/EditorAssembly.py

branch
eric7
changeset 10907
c424150d2ac8
parent 10880
2d2dd2c638e8
child 11090
f5f5f5803935
equal deleted inserted replaced
10906:a398053bede2 10907:c424150d2ac8
111 111
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 = self.parent().width() - self.__editorSplitter.handleWidth()
117 self.parent().width() - self.__editorSplitter.handleWidth()
118 )
119 outlineWidth = Preferences.getEditor("SourceOutlineWidth") 117 outlineWidth = Preferences.getEditor("SourceOutlineWidth")
120 self.__editorSplitter.setSizes([splitterWidth - outlineWidth, outlineWidth]) 118 self.__editorSplitter.setSizes([splitterWidth - outlineWidth, outlineWidth])
121 119
122 def aboutToBeClosed(self): 120 def aboutToBeClosed(self):
123 """ 121 """

eric ide

mercurial