src/eric7/QScintilla/EditorAssembly.py

branch
eric7
changeset 10880
2d2dd2c638e8
parent 10849
78d338b6d89f
child 10907
c424150d2ac8
diff -r 25c211d24fd3 -r 2d2dd2c638e8 src/eric7/QScintilla/EditorAssembly.py
--- a/src/eric7/QScintilla/EditorAssembly.py	Fri Aug 02 14:33:12 2024 +0200
+++ b/src/eric7/QScintilla/EditorAssembly.py	Fri Aug 02 14:35:21 2024 +0200
@@ -114,7 +114,7 @@
         Public method to finish the setup of the assembly.
         """
         splitterWidth = (
-            self.__editorSplitter.width() - self.__editorSplitter.handleWidth()
+            self.parent().width() - self.__editorSplitter.handleWidth()
         )
         outlineWidth = Preferences.getEditor("SourceOutlineWidth")
         self.__editorSplitter.setSizes([splitterWidth - outlineWidth, outlineWidth])

eric ide

mercurial